• 0 Posts
  • 87 Comments
Joined 3 years ago
cake
Cake day: March 25th, 2022

help-circle







  • Faresh@lemmy.mltoRetroGaming@lemmy.worldHow hard could it be?
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    18 days ago

    you’re not usually directly accessing/working on the hardware

    I mean, you are. Sure, there’s a layer of abstraction when doing tasks that require the intervention of the kernel, but you are still dealing with cpu registers and stuff like that. Merely by writing in assembly you are making your software less portable because you are writing for a specific ISA that only a certain family of processors can read, and talking with the kernel through an API or ABI that is specific to the kernel (standards like Posix mitigate the latter part somewhat, but some systems (windows) aren’t Posix compilant).




  • Btw, what is a non-local RSS reader? I have come across multiple that RSS readers that advertise being “self-hosted” and I’m confused about that since in my mind RSS readers are simply clients that periodically query different servers for an .rss file, so I’m confused about where there is anything to host besides the host of the .rss feed.


  • I recognize you and your profile picture from some quite popular Luanti mods. :D I have a question regarding making content for Luanti:

    I’ve been interested in maybe some day making a game for Luanti, but I don’t really like Lua (I for example imagine that undefined variables evaluating to nil rather than directly throwing an error, identifiers by default being public, and absence of static checking of possibility of null dereference before runtime to be things that can cause quite some annoying bugs). Is there some popular X to Lua transpiler that you’ve heard people using? Something like what Typescript is to JS or Kotlin/Clojure/Scala to Java (not exactly the same thing since they all compile directly to jvm bytecode rather than java, but you get the point).

    I hope I’m not insulting you by asking such a question.








  • Faresh@lemmy.mltoProgrammer Humor@programming.devof=/dev/sda
    link
    fedilink
    English
    arrow-up
    7
    ·
    edit-2
    1 month ago

    echo and alias are both shell commands. If the shell is running (which it obviously still is), those commands should still work, as it does not involve reading data from disk, but from memory.

    Edit: I just noticed the picture said cd was not found, which is also a shell built-in. So, I don’t know.