this post was submitted on 13 May 2026
-18 points (20.0% liked)

Ask Lemmy

39551 readers
864 users here now

A Fediverse community for open-ended, thought provoking questions


Rules: (interactive)


1) Be nice and; have funDoxxing, trolling, sealioning, racism, toxicity and dog-whistling are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them


2) All posts must end with a '?'This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?


3) No spamPlease do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.


4) NSFW is okay, within reasonJust remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either !asklemmyafterdark@lemmy.world or !asklemmynsfw@lemmynsfw.com. NSFW comments should be restricted to posts tagged [NSFW].


5) This is not a support community.
It is not a place for 'how do I?', type questions. If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email info@lemmy.world. For other questions check our partnered communities list, or use the search function.


6) No US Politics.
Please don't post about current US Politics. If you need to do this, try !politicaldiscussion@lemmy.world or !askusa@discuss.online


Reminder: The terms of service apply here too.

Partnered Communities:

Tech Support

No Stupid Questions

You Should Know

Reddit

Jokes

Ask Ouija


Logo design credit goes to: tubbadu


founded 2 years ago
MODERATORS
 

I don't think it makes any sense to keep investing in an old language, while writing code for today.

Which make me ask, will it ever be ported/modernized?

you are viewing a single comment's thread
view the rest of the comments
[–] graynk@discuss.tchncs.de 2 points 2 days ago (1 children)

Guess what is and what isn't used in serverless functions, Lambda doesn't even support Go ffs. It's java, ruby, node and python. And from those most use node or python.

I assume that this isn't bait, so I'll answer.

  1. It doesn't matter what Lambda supports
  2. There isn't a dedicated runtime for Go because it doesn't need a runtime. It will work on OS-only runtime like any other language that gets compiled down to a binary: https://docs.aws.amazon.com/lambda/latest/dg/runtimes-provided.html
[–] fushuan@lemmy.blahaj.zone 1 points 2 days ago (1 children)

About 1, I was commenting on the serverless world, a big part of today's cloud infrastructure, and AWS is one of the major cloud providers. I feel like, to show the relevance of a language compared to another, it kinda does matter that you can't code directly and let the provider compile your small-ish program.

About 2, it doesn't need any runtime, meaning that you need to upload the binary that you compile locally or via some sort of pipeline. Which is worse than say, using typescript and letting them transpiled it into is so Node can run it. It's not supported in that way.

In any case, you wouldn't really use a compiled language like Go to have small-ish serverless functions. Go does have a use case ofc, I'm just making a case of how not obsolete python is.

[–] graynk@discuss.tchncs.de 2 points 2 days ago (1 children)
  1. Yes and it all does not matter in the slightest for discussing if a language is a right choice for something like Piefed. Not that there's much to engage with in the original post - I almost regret leaving a comment on a post like this, but I feel this may be a learning for some.
  2. There is zero significance in it being supported in "that" way. There used to be a Go-specific runtime (before there were OS runtimes), but they have dropped it because it made no sense once OS runtimes appeared. If you use TS you likely already have a build step somewhere before deployment unless your function is dead simple (which admittedly it should be, but rarely is). Might as well compile a binary, it's not that complicated. And yes, using a compiled language like go (or C, yes) may absolutely be the correct choice depending on what you need - if it's in a hot path which serves a lot of traffic then it may lead to much better warm up times and better throughput, as there isn't a whole runtime to boot and script to interpret like there would be with Node and/or Python (let's not talk about Java). I'm simplifying a bit, but hope that helps.

I'm just making a case of how not obsolete python is.

There's no need to do that, it's self-evident and the original post does not deserve a second of anyone's time.

[–] fushuan@lemmy.blahaj.zone 1 points 1 day ago (1 children)
  1. You are right, I guess I was unnecessarily defending python too much.
  2. Iirc with typescript was is the one that takes care of the transpilation step, so you can technically just code and the press deploy like with python or js. But yeah, you are right, this discussion is irrelevant to the topic of the post.

Agreed that the OG post doesn't deserve anyone's time, which is why I acknowledged that they successfully baited me lol. I think I did.

Have a great day! <3

[–] graynk@discuss.tchncs.de 2 points 1 day ago