HNHacker News
TopNewBestAskShowJobs

skldj28d2

23 karma · joined January 21, 2024

submissionscomments
skldj28d2··on Show HN: Welcome, Cot: the Rust web framework for lazy developers
Axum is most likely to be supported long term since it has quite a bit of support and is a Tokio project but it's not nearly as batteries included as something like Rails or Django. I doubt any of the current batteries included Rust web frameworks will last.
skldj28d2··on Rust Is Eating JavaScript (2023)
> with Bun leading the way

Definitely leading the way in segfaults.

skldj28d2··on The upcoming iterator design for Go 1.23
https://github.com/golang/go/issues/61901

https://github.com/golang/go/issues/61902

https://github.com/golang/go/issues/61900

https://github.com/golang/go/issues/61899

https://github.com/golang/go/issues/61898

Yes there are and a lot of the work is already done.

skldj28d2··on The upcoming iterator design for Go 1.23
I know. There are already proposals to add new functions to many of these packages that return iterators.
skldj28d2··on The upcoming iterator design for Go 1.23
Basically every custom data structure right now has some custom implementation of iterators. This will set a standard and make them usable with range loops. Even simple library methods like scanner.Scan, strings.Split, regex.FindAll or sql.Query should return iterators.
skldj28d2··on The upcoming iterator design for Go 1.23
They'll be used primarily by library authors but most people will end up consuming them a lot. They'll eliminate a lot of unnecessary intermediate slice allocations.
skldj28d2··on Go, Python, Rust, and production AI applications
Python is the same but there's not nearly enough incentive to move to another slow language. A lot of people that are interested in using something other than Python want a language that doesn't require everything to be written in C, C++ or Fortran and used via bindings. Having most of the ecosystem written in one expressive and relatively fast language has huge benefits.
skldj28d2··on Go, Python, Rust, and production AI applications
Erlang/Elixir are very slow for most computationally expensive tasks.