• 6 Posts
  • 36 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle








  • I agree with the Runtime being slower. These days Android doesn’t technically use the JVM anymore but the Android Runtime, ART for short, that actually performs ahead of time compilation to native code for the byte code for increased performance. Still, the Java Runtime it implements is very heavy and comes with it’s own overhead, so native Android code written in Java/Kotlin is generally slower than native iOS code written in Objective C/Swift.

    The kernel architecture does influence more than just the hardware it can run on though. Microkernels for example are generally more secure but slower than monolithic kernels


  • Microkernels aren’t better per se than monolithic kernels. Their main advantage is increased security. Only a small portion of the Kernel actually runs in Ring 0, the most privileged level where the code has full access to the computer. Drivers and the like then technically run as separate, less privileged programs that interact with the kernels via messages. This greatly reduces the attack surface on the kernel and prevents crashes or memory access from a faulty driver.
    This comes at a cost though. While microkernels are generally more secure, they are also less performant. Each message means overhead and a context switch you don’t have in a monolithic kernel.
    The discussion between the two kernel types has been going on for the last thirty years and was famously the source for a long argument between Linus Torvalds, founder of the Linux Kernel and Andrew S Tannenbaum, creator of the Minix kernel.
    In the end the XNU kernel isn’t even a full microkernel, but a hybrid kernel, trying to take the best of both world by originally taking the Mach microkernel and then implementing the 4.3BSD monolithic kernel on top of it. There are even project to do the same with Linux, like L4Linux

    Overall the choice of kernel doesn’t hold Android back in comparison, Linux is an extremely capable piece of software that runs on anything from small microcontrollers to all of the world’s largest supercomputers. Though Google’s newest OS project, Fuchsia, actually uses a microkernel for increased security. And it doesn’t use Linux because of licensing, but that’s a whole other can of worms









  • Yeah, same for me. I’m actually on my second foldable with a Z Fold 4 and I just love the concept. Mind you, I tend to read quite a few Mangas and books on the go, so this concept is pretty much perfect for me. Combined with my glap controller it also makes for one awesome mobile retro handheld.
    I have to admit that it’s not all roses though. My first foldable was a Z Fold 2 and exactly one year after purchase the inner screen suddenly died on me. Started with a few dead pixels and spread out from there, til the whole screen started flickering and was unusable. Samsung refused to acknowledge it under warranty, pointing to a small dent on the hinge where I dropped it shortly after I got it, since Samsung’s official case was terrible.
    I vowed to never get another foldable afterwards, but I got back anyway because I just love the form factor. Still, this time I got insurance in case of any other display damage.



  • That’s not really what that blog post is talking about. Lua isn’t actually particularly old as far as programming languages go and one of the most commonly used scripting languages in game development, due to it’s easy embeddability. And it’s a perfectly fine language in that regard.
    Their problem is that they built their own visual scripting language on top of Lua called BlockBuilder. And that comes with quite a bit of overhead, since the way they’re doing it needs a number of additional heavy operations. And Lua is a full blown programming language that comes with a lot of functionality that they don’t need for that use case, but still need to account for.
    So the complaint is, that they used Lua instead of using a simpler and constrained language


  • That’s a rather rose-colored view of the game. One thing is certainly true about Spore: It’s absolutely unique in its genre and we haven’t really seen the like since.
    But it certainly had its flaws when it came out. The main one being that the further into the game you got, the more lackluster it felt. With the space exploration endgame feeling rather empty and basically the same every playthrough, with how you developed your creature having very little impact.
    There was also the whole DRM controversy which everyone complained about. The game had to be activated via EAs online servers and you could only activate it five times total. And changing your PCs hardware was seen as a new PC which needed a new activation