I don’t understand how this language is planning on ever seeing adoption when it’s been restricted from open use since it’s inception. Seems like vaporware.
Over the past decade, I watched HN's and Reddit's hype waves cycle through server-side JavaScript, Golang, Haskell, and now Rust. With plenty of secondary favorites in the mix like Julia, Nim, Zig, etc. A lot of these things do find some modest niche to survive in. But none really take over the world as originally forecast by the hype wave. Ultimately, you either enjoy tinkering with programming languages for persona…
Porting 58k lines of D and C++ to Jai
21–30 of 264 posts
Re: Porting 58k lines of D and C++ to Jai
#22Earlier quoted context omitted.
See https://github.com/Jai-Community/Jai-Community-Library/wiki/... and https://github.com/Ivo-Balbaert/The_Way_to_Jai
> Supports x86 architecture only No native macOS then? > No virtual functions > Jai is less dogmatic okay
Or Pi, or iOS, or practically all Android hardware… Kind of a non-starter IMO. Maybe this was marginally acceptable when the language started in '14 but it becomes less so every year.
Re: Porting 58k lines of D and C++ to Jai
#23Re: Porting 58k lines of D and C++ to Jai
#24I'd love to see more about Jai. I don't understand why they are not working in the open, this is a tool, not a game, input for a large community is extremely valuable. But as brilliant as Jon Blow is, he is at least equally as stubborn. Fast compilation and nice, easy to read syntax with good default is exactly what I am looking for. I can understand the hype about metaprogramming, and its potential usefulness, but I…
Golang has had success and was primarily made in private by 3 guys and hasn't strayed too far from the original founding principles they came up with.
Re: Porting 58k lines of D and C++ to Jai
#25It's worth mentioning that DMD is a reference compiler and not meant as a production tool. DMD is for fast compile time during dev cycles and testing new language features early. You've got the LLVM and GCC compilers for production. The problem with lack of debug info on Windows in D is solved by using LDC with LLDB/GDB to debug You can also ask the compiler to emit CodeView debugging info if you want to stick with M…
The author's chief complaint appears to be that dmd produces incorrect debug info on Windows, something I'd expect a reference compiler to do. A reference compiler doesn't have to be fast, but it does need to be correct.
Personally I have fixed some debug info generation problems so it is being worked on.
Re: Porting 58k lines of D and C++ to Jai
#26I find the "slow compile time" complaint of D interesting; overall I find ldc2 to be one of the faster compilers out there. I suppose the combination of features and metaprogramming used by the author is responsible for the 3-minute compile times in debug mode. While jai is evidently expected to be substantially faster (author estimates 5 sec for this codebase???), other choices like Rust would be far, far slower tha…
> author estimates 5 sec for this codebase??? This expectation comes from jai compile times for the game Jonathan Blow is developing: https://www.twitch.tv/j_blow It takes about 2.5 seconds to compile and link over 168k lines of code in debug mode. See e.g. https://www.twitch.tv/videos/1659970118 at around 30 seconds in
Re: Porting 58k lines of D and C++ to Jai
#27Earlier quoted context omitted.
Over the past decade, I watched HN's and Reddit's hype waves cycle through server-side JavaScript, Golang, Haskell, and now Rust. With plenty of secondary favorites in the mix like Julia, Nim, Zig, etc. A lot of these things do find some modest niche to survive in. But none really take over the world as originally forecast by the hype wave. Ultimately, you either enjoy tinkering with programming languages for persona…
I'm starting to actually believe that Rust will eat C's lunch for systems programming.
Re: Porting 58k lines of D and C++ to Jai
#28I don’t understand how this language is planning on ever seeing adoption when it’s been restricted from open use since it’s inception. Seems like vaporware.
Re: Porting 58k lines of D and C++ to Jai
#29Earlier quoted context omitted.
Over the past decade, I watched HN's and Reddit's hype waves cycle through server-side JavaScript, Golang, Haskell, and now Rust. With plenty of secondary favorites in the mix like Julia, Nim, Zig, etc. A lot of these things do find some modest niche to survive in. But none really take over the world as originally forecast by the hype wave. Ultimately, you either enjoy tinkering with programming languages for persona…
I'm starting to actually believe that Rust will eat C's lunch for systems programming.
Re: Porting 58k lines of D and C++ to Jai
#30Earlier quoted context omitted.
I'm starting to actually believe that Rust will eat C's lunch for systems programming.
People have been believing that for close to a decade now.
So I didn't believe it before, but it's starting to seem more plausible.
Of course, it'll take a very long time. There's a lot of C code out there. :D