Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Bruh wtf were you doing without malloc lmao. Good luck with the engine (and C) ;)
-
lxmcf204104y@3rdWorldPoison Vala manages memory for you so I'm coming from Java, GML, Vala and now on C, first time I have had to manage my own memory .-.
-
lxmcf204104y@3rdWorldPoison it's super fun to work with. Think of a meld of C# with some of the power you get with C.
Plus it compiles to native C so even better -
Vala is pretty cool, I am also wondering what your thoughts could be in something like Nim for C interoperability. Nim also manages memory for you, it is still a pretty interesting and viable option.
-
lxmcf204104y@AleCx04 I might look into it but one of the big draws to C for me was managing memory myself
Plus I love reinventing the wheel but making a square
Related Rants
So I have never done 'real' development on anything bar my current game engine Virgil, however found myself referring to C documentation for GLib and SDL2 rather than valadoc documentation.
Decided fuck it, I'm already converting everything to Vala's pointer syntax so I can have manual memory control, implementing stb_image and contemplating reworking SDL2_image into raw C so I'm not depending on extra libraries... Why do all this when I can just learn C and have more control.
Everything was going well and decided to buy the C programming language book, already knew about pointers and structs but ohhhhhhhhhhhhhhhhhhhh boi was I not ready for malloc .-.
random
vala
c
mini rant?