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.
Porting 58k lines of D and C++ to Jai
11–20 of 264 posts
Re: Porting 58k lines of D and C++ to Jai
#12- The game records the inputs (HID, loaded files, network, …) of a play-session into a file and replay them later. When replaying, feeding recorded input into the deterministic game loop leads to the exact same state, down to the bit.
- The game hashes game state at various points during execution and saves these hashes to a different file. When replaying, the contents of this file can be used to check that the execution of the replayed session exactly matches the original execution.”
Re: Porting 58k lines of D and C++ to Jai
#13Re: Porting 58k lines of D and C++ to Jai
#14I 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.
See https://github.com/Jai-Community/Jai-Community-Library/wiki/... and https://github.com/Ivo-Balbaert/The_Way_to_Jai
Re: Porting 58k lines of D and C++ to Jai
#15I 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.
See https://github.com/Jai-Community/Jai-Community-Library/wiki/... and https://github.com/Ivo-Balbaert/The_Way_to_Jai
No native macOS then?
> No virtual functions
> Jai is less dogmatic
okay
Re: Porting 58k lines of D and C++ to Jai
#16LDC = LLVM backend
it's slow for D, for C++, for Zig and also slow for Jai
The reference compiler "DMD" is what you use to get fast iteration time
> (jai) Reducing compile times from about 60s right now to under 5s, hopefully around 1s
Try to compile the DMD compiler and notice how fast it is at compilation
So that sounds like it's a "your code" problem, my game engine takes 1.2 seconds to fully recompile with DMD
> the documentation is lacking
https://dlang.org/phobos/index.html
Looks complete with exhaustive code examples that you can run online
> Ok, so I don’t like D and C++ and jai looks good. But what about all the other languages?
Ok so that explains everything
Re: Porting 58k lines of D and C++ to Jai
#17I 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 also think this is a pandora box.
Pretty much like C macros and C++ templates, overuse can lead to a very messy codebase, hard to read, hard to debug, with a lot of unexpected side effects.
Re: Porting 58k lines of D and C++ to Jai
#18It'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…
Re: Porting 58k lines of D and C++ to Jai
#19I 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.
That's ridiculous but seeing the odd level of interest in this language that almost nobody can use means maybe it's working.
Re: Porting 58k lines of D and C++ to Jai
#20I 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.
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 personal enrichment, or you do not. Hardly anyone is actually using anything else at our Java/C#/Python/C++ day jobs.