News for hackers. Stuff that matters.
Re:Ask HN: Is there a programming language that has this? by tobyhede on Saturday October 17, 2020 @05:51PM (#24813700)
I've been doing serverless in anger for years. My vision is to use annotations or decorators to tag functions and have the implementation transparently handled.

@spawn //makes this a lambda

function fn() ... {}

@queue //makes this a queued function sqs or similar

function fn() ... {}

Re:Ask HN: Is there a programming language that has this? by techsin101 on Sunday October 18, 2020 @06:13PM (#24821536)
Re:Ask HN: Is there a programming language that has this? by techsin101 on Saturday October 17, 2020 @05:55PM (#24813723)
im thinking along the same lines, it'd be even better if there was built in retrying or event based message queuing, time out, and default error message if it really fails for all funcs .... await fn(); // -> {err: 'timedout'}