(not sure if this is the right subforum..)
So, serious graphics programming centres on C++ (plus shaders obviously);
Is anyone here interested in the potential of Rust? Its' shaping up really nicely IMO, although I can see why people have doubts.. C++ is a complex language to master, its understandable that (i)after such a personal investment people might not want to move away from it - and that (ii) people are skeptical that its feasible to replace the work on the language ecosystem.(IDE tools..)
But, rust leverages so much of that with an LLVM backend. Context Free Grammar & clean macros should lead to better tools in future.
In my case, I was unambiguously happy with the jump from ASM to C, but C++ has always been a double edge sword.. more that i like than dislike obviously- I have used it for years - but enough to I dislike that I went on a quest that ended up with me following the progress of Rust with great interest.
I have never really liked the whole mindset of classes.. I find them artificial. I prefer to seperate code & data. (Polymorphism itself, I like that.). I have never trusted garbage collection , so i looked on with envy at features in GC based languages - seemed a shame I had no choice until now.
the features I personally like.. the slightly more functional 'flavour' (even though its still multi-paradigm); aliasing rules (no need for 'restrict')stemming from its pointer-safety.. no header files - that might sound trivial but these really do annoy the hell out of me.
And having tasted enum/match I want to keep all that.. its' also pretty interesting they way generics & vtables are related through traits.
Some call it 'C meets haskell' but I think its more accurate to say its a 'cleaned up C++1y'
Its probably going to polarise.. I've heard people reject it out of hand because they dont like writing 'fn' or ":" before types, or they dont like "the random symbols".. but if safe pointers are supposed to be used predominantly, they deserve symbols rather than being bolt-ons IMO.
So, serious graphics programming centres on C++ (plus shaders obviously);
Is anyone here interested in the potential of Rust? Its' shaping up really nicely IMO, although I can see why people have doubts.. C++ is a complex language to master, its understandable that (i)after such a personal investment people might not want to move away from it - and that (ii) people are skeptical that its feasible to replace the work on the language ecosystem.(IDE tools..)
But, rust leverages so much of that with an LLVM backend. Context Free Grammar & clean macros should lead to better tools in future.
In my case, I was unambiguously happy with the jump from ASM to C, but C++ has always been a double edge sword.. more that i like than dislike obviously- I have used it for years - but enough to I dislike that I went on a quest that ended up with me following the progress of Rust with great interest.
I have never really liked the whole mindset of classes.. I find them artificial. I prefer to seperate code & data. (Polymorphism itself, I like that.). I have never trusted garbage collection , so i looked on with envy at features in GC based languages - seemed a shame I had no choice until now.
the features I personally like.. the slightly more functional 'flavour' (even though its still multi-paradigm); aliasing rules (no need for 'restrict')stemming from its pointer-safety.. no header files - that might sound trivial but these really do annoy the hell out of me.
And having tasted enum/match I want to keep all that.. its' also pretty interesting they way generics & vtables are related through traits.
Some call it 'C meets haskell' but I think its more accurate to say its a 'cleaned up C++1y'
Its probably going to polarise.. I've heard people reject it out of hand because they dont like writing 'fn' or ":" before types, or they dont like "the random symbols".. but if safe pointers are supposed to be used predominantly, they deserve symbols rather than being bolt-ons IMO.
Last edited by a moderator: