News for hackers. Stuff that matters.
Re:Netlify Edge Functions: A new serverless runtime powered ... by me_me_mu_mu on Tuesday April 19, 2022 @03:31PM (#31087821)
Really, really dumb question. I've seen a lot of node/python/etc serverless offerings. Is there something where you just provide a binary and its executed each time?

For example, I write a simple single responsibility piece of code in Go `add_to_cart.go` and build it, deploy it, and somehow map it to some network request. dot slash pass args, and return the result?

No need to have containers or runtime?

Re:Netlify Edge Functions: A new serverless runtime powered ... by pid-1 on Tuesday April 19, 2022 @04:05PM (#31088267)
That's how every FaaS (Function as a Service) offering works.

A caveat is that most non trivial applications need something more than running a function.

You might need secrets management, ephemeral and non ephemeral storage, relational databases, non relational databases, dependency management, AAA capabilities, observability, queues/async, caching, custom domains... That's where said offerings differ.

EDIT: actually most FaaS offerings take code as input, not binaries. I'm not sure if that was the relevant part of your question. If it was, then yeah I don't know of such service.

Re:Netlify Edge Functions: A new serverless runtime powered ... by nl on Tuesday April 19, 2022 @09:27PM (#31091681)
You can do that on Lambda: https://docs.aws.amazon.com/lambda/latest/dg/golang-handler....

AWS still needs the container/runtime to stop your code getting access to other things on the same physical computer.

Re:Netlify Edge Functions: A new serverless runtime powered ... by qbasic_forever on Tuesday April 19, 2022 @07:26PM (#31090715)
Find a cheap apache web host that allows cgi-bin.
Re:Netlify Edge Functions: A new serverless runtime powered ... by prakis on Wednesday April 20, 2022 @05:27AM (#31094493)
This is exactly what we are building at TinyFunction.com Just write your function code in Javascript or Python in the browser and click deploy to get a URL. Take a look at https://TinyFunction.com

Appreciate any suggestions or feedback.

Re:Netlify Edge Functions: A new serverless runtime powered ... by me_me_mu_mu on Wednesday April 20, 2022 @03:51PM (#31102051)
Site no loading on my phone. Just a white screen with a green comment button. That’s really cool though that you’re going to build something like that, wish you all the best!
Re:Netlify Edge Functions: A new serverless runtime powered ... by brundolf on Tuesday April 19, 2022 @05:12PM (#31089257)
It's possible you'd run into environment issues. JS or Python code (or a container) doesn't have to care as much what OS or architecture it's run on. A raw binary could pierce that abstraction and make the service more complicated to offer.
Re:Netlify Edge Functions: A new serverless runtime powered ... by kasey_junk on Tuesday April 19, 2022 @03:44PM (#31088003)
AWS lambda’s work that way.