Live data from Hacker News

Making Reasonable Use of Computer Resources

vfoley.xyz

31–32 of 32 posts

Re: Making Reasonable Use of Computer Resources

#31
post #29

Earlier quoted context omitted.

People focus too much on the SoA thing as if it was the whole point of the language, but it's really really not. Jon does a lot of programming streams, and I think anyone who watches his programming streams will recognize that "structure of arrays" is not the default mode that he usually programs in. That's not even the point of the language. Yes the language does a lot of what you expect from a modern systems langua…

Thanks for the great explanation. Do you know how it plans to handle dependencies? Is it expected to work on embedded platforms like Cortex-M? It's nice seeing a mix of modern systems languages: Zig, Rust, Jai. All seem very well designed and promising.

I don't really know .. these are just guesses:

- I think it will not support any platform that is less than 64 bits.

- I think the preferred way will be to explicitly host the dependency in your repository. What ever the language does to help with dependency management will probably be geared towards that direction. Code bases are expected to be self contained. Once you checkout the code from your version control system, you should not need to download an additional thing from the internet to build.

That said, there is a video where Jon talked at length about his plans for dependency management, but it was more of an information discussion than a concrete plan. It is from 3 years ago (2018.01)

https://www.youtube.com/watch?v=3TwEaRZ4H3w

Re: Making Reasonable Use of Computer Resources

#32
post #29

Earlier quoted context omitted.

The new way Jai does SoA is through just userland macros: https://www.youtube.com/watch?v=zgoqZtu15kI Tldr SoA isn't a single transformation. Depending on your data access pattern, you might want to shape the structure differently. Kinda like GPU. So first-classing a particular pattern of AoS->SoA conversion (the one we often see in tutorials) wouldn't have been enough. In this case, a little bit of tasteful usage of…

People focus too much on the SoA thing as if it was the whole point of the language, but it's really really not. Jon does a lot of programming streams, and I think anyone who watches his programming streams will recognize that "structure of arrays" is not the default mode that he usually programs in. That's not even the point of the language. Yes the language does a lot of what you expect from a modern systems langua…

Oh for sure, build is the main point and SoA isn't. The SoA feature discussions probably came from its deprecated interesting approach.

Collapsing into a single layer is great. As an aside, another language notorious for doing so would be Smalltalk, which is on the complete opposite end of the spectrum in terms of paradigm. It's kinda interesting to see the horseshoe theory in action in software philosophy.

Post reply on HN