• 2 posts
  • 14 comments
Joined 3 years ago
Cake day: June 14th, 2023
  • For any other use case, I would have recommended Rust, but for making a hobby game engine, I would advise not using either rust or Odin and instead use C and C++. The graphics drivers have a primary C Abi and you would spend a really long time debugging C to Odin/Rust translation layer bugs than actually working on he engine.

    I would suggest write a C rendering library, wrap it in safe Rust and move on from there.

  • I started with rust 2 years back. It has been amazing since. Just build stuff you want to use, even recreate simple apps that you use everyday and have a rough idea on how they work. Getting used to the borrow checker takes time so don’t do something massive. Also if you haven’t finished the rust book and rustlings, I highly recommend them. They are amazing materials.

    You can check out my github for ideas. I have till now as far as I can remember built a notification daemon, an automatic music player, a time management app, a video server, video library manager, a C/C++ build system and lots of other stuff. Reading other people’s code will make you get best practices.

    PS Don’t learn from my builder_cpp project. The code is utter garbage, but it was how I used to do stuff in the early days

  • I also love this. I don’t why but gc languages feel so incomplete to me. I like to know where the data is that I have. In c/c++ I know if I am passing data or pointer, in rust I know if it’s a reference or the data itself. Idk, allows me to think better

cross-posted from: https://lemm.ee/post/36285077

I have many ebooks I have from scouring the Internet in two formats: epub and PDF. I want something server like that lets me drop read them from any device on my local network and remembers where I left the book on device and let’s me continue on another. I want the client app to have android and Linux support while the server should run on linux. Is there anything out there? Bonus points if it autographs metadata from the internet and organises them by topics, authors, ddc etc.

TLDR: An ebook library running on a Linux server with Android and Linux client software.

  • When I learnt programming (back in early 2000s) the textbook said C is a high level 3rd generation language with 4th gen languages being something higher (I don’t remember what examples were given specifically). This is back when the java applets and action script for flash were the hot things. How I miss the days without the world being cursed by JS.