Hacker Newsnew | past | comments | ask | show | jobs | submit | omgmajk's commentslogin

I used to play a lot of Crimsonland, so this is very nice. I thought the updated version that they later released on Steam never captured the original feeling. The newer game is still fun but the older version is better, gameplay wise.

I explored the programming language nim a bit deeper for use in game programming with SDL3 bindings, but I came to find out that compiled nim code on Windows often triggers anti-virus because, from what I hear from people, nim is used a lot in malware development currently. Which is a shame because I really like that language. I haven't tested it myself, it's just things I have heard and read. Someone on r/gamedev told me to write the code in nim, generate C code and then compile it with zig cc.

If anyone has any experience with this, please do chime in :)


It's usually code compiled with Mingw that gets AV false-positives in Nim. But, indeed, you can use clang or zigcc compilers instead.

Nim has good support for Clang, so it works by just switching a single flag: `nim c --cc:clang main.nim`

For zigcc - there is a wrapper package you can install with nimble: `nimble install zigcc`

Then you can use it with: `nim c --cc:clang --clang.exe=zigcc --linker.exe=zigcc main.nim`

Of course, you can save the flags in configuration files. You can look at my setup for inspiration [0].

[0] - https://codeberg.org/janAkali/grabnim/src/branch/master/conf...


I don't have any nim experience (sorry!) but I'm also exploring SDL3 with odin. I was able to get a naive battleship clone up and working very quickly, pretty neat. Next step is the new SDL3 GPU API.


I haven't looked into Odin that much but I hear it's swell, so maybe I should!


In certain subreddits I have seen the idea that there is no revolution, it's all mossad/CIA propaganda. It's quite conspiratorial but it's the same subs that typically love China, NK etc so it's not surprising.

However, I have seen these thoughts spread to more seemingly mainstream geopolitical subs as well. I am not sure how much astroturfing is going on here. Probably quite a lot.


Very enjoyable work pastime!

Great stuff :)


I laughed out loud when I saw computers in blue text, always fun to see a HoL reference.


I have a Lenovo used minipc connected to mine and I just use a Logitech K400+, it runs Linux with KDE. I will never need a smart tv, or want one, for that matter.

I get that people would rather have a remote but I personally actually don't like remotes at all. My TV is basically a screen only.


Yeah the problem with a keyboard and trackpad is you need the lights on.


I do not, but I get what you mean :)


I just checked our local apple store website and going from 48gb of ram on a M4 MacBook Pro it's 1500€ to get 128gb. Seems about the same :E


You actually get more, for the 1500€ you don't have to mess with sticks yourself. They solder it directly on your mainboard. If that isn't great service, I don't know what is.


I don’t know why you are getting downvoted. The sarcasm in the comment is pretty obvious.


I'm not sure if it's sarcasm or not, but either way it's just true


Same here, I was waiting for DDR5 to come down in prices to upgrade from 32 -> 128gb. Could have done it for 200-300€ a few weeks ago, now I'm just sad.


You get downvoted, but you are not wrong. People with various anxiety disorders have this problem - and keep remembering all the small mistakes they did in life over the good memories.


All of those things are hosted on-prem in the bigger orgs I have worked in.


I don't think Slack or Notion have on-prem/self-hosted options.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: