News for hackers. Stuff that matters.
Re:Show HN: A new stdlib for Golang focusing on platform nat... by Leotard6963 on Tuesday October 03, 2023 @07:19AM (#37750344)
> dropping GC, dropping runtime concurrency

Making GC/goroutine optional & customizable requires building a std works with no GC/goroutine.

> dropping std

relax, this is a new std, let's spare the baby some hope?

Re:Show HN: A new stdlib for Golang focusing on platform nat... by mst on Tuesday October 03, 2023 @09:23AM (#37751506)
> Making GC/goroutine optional & customizable requires building a std works with no GC/goroutine.

Right.

You've picked a goal that require you to do some hard things to make that goal even possible.

OTOH even if you never reach the -final- goal, making any of those hard things work would be an achievement.

The only way to find out is to try. So: Good luck!

Re:Show HN: A new stdlib for Golang focusing on platform nat... by Leotard6963 on Tuesday October 03, 2023 @09:52AM (#37751953)
Thanks, but the actually hard things are done by the Go team, the design of the interface type and availability of runtime type information made it relatively easy to complete that final goal, but let's go find out!
Re:Show HN: A new stdlib for Golang focusing on platform nat... by klabb3 on Tuesday October 03, 2023 @10:45AM (#37752662)
> Making GC/goroutine optional & customizable requires building a std works with no GC/goroutine.

Isn’t there a big difference between customizable, ie changing the runtime backend, vs NO runtime where goroutines and GC don’t work at all? In the latter case, you’d have to write very different, restricted Go code, no? And you’d even have to add some new features for manual memory reclaim?

> relax, this is a new std, let's spare the baby some hope?

Yeah, depends on what hat you put on. I wrote it wearing the “when would someone use something like this?”-hat. I don’t claim to know one way or the other.