This is a secondary account that sees the most usage. My first account is listed below. The main will have a list of all the accounts that I use.

henfredemars@lemmy.world

Personal website:

https://henfred.me/

  • 0 Posts
  • 420 Comments
Joined 1 year ago
cake
Cake day: July 4th, 2023

help-circle







  • AI can be a useful tool, but it’s not a substitute for actual expertise. More reviews might patch over the problem, but at the end of the day, you need a competent software developer who understands the business case, risk profile, and concrete needs to take responsibility for the code if that code is actually important.

    AI is not particularly good at coding, and it’s not particularly good at the human side of engineering either. AI is cheap. It’s the outsourcing problem all over again and with extra steps of having an algorithm hide the indirection between the expertise you need and the product you’re selling.





  • One option could be to get one of those 5G modems. It would require you to pay for your own Internet service, but many will then provide an Ethernet connection as an option, meaning you would never have to accept the legal terms presented to you. You could even use Wi-Fi because technically you never agreed to the terms, and practically speaking so many devices generate Wi-Fi networks I think it would be hard to enforce that you don’t produce any networks. Printers, smart watches, IP cameras… Are they really going to wardrive and triangulate the position of wireless devices on a regular basis? A sneaky network named after a printer or hidden SSID combined with ignorance for a TOS you never agreed to would probably slip through the cracks.

    They don’t own the spectrum. I’m not sure it’s even legal to mandate that you can’t use Wi-Fi devices as long as you’re not using their network. When I was in university, there were still tons of such devices emitting signals that weren’t connected to the university network despite policy.








  • Call it a difference of opinion that I don’t believe it should try to be bit-accurate for floating point. But, it’s a valid position to take. There are many use cases for QEMU. In this case where we emit some host instructions I do believe it’s still within the helper function instead of inline which is not ideal. The guest code using floating point in the first place to me implies some degree of inaccuracy is permissible and this is the position that some cross architecture game emulators take. But again, I suppose it can depend what code you wish to run.


  • Yes indeed. I develop QEMU at work mainly implementation of new hardware as needed for my employer. It has a software emulator, but it’s not very good. It’s acceptable.

    The instruction generation backend does not seem to prioritize performance. Instead, it prioritizes accuracy and ease of maintenance. There is low-hanging fruit for making it faster but there isn’t much interest in doing so for the TCG backend. The attitude seems to be that it’s good enough.

    For a small example, you may find it interesting that QEMU does not implement floating point acceleration. It’s done in software even though the host has floating point instructions. It usually doesn’t attempt to use those floating point hardware facilities on the host and instead execute many hundreds of instructions to do floating point using the Berkeley software implementation. Almost never does this matter but it costs a lot of performance. Compare this to the translation performed by projects like FEX and Box64 which do and blow QEMU out of the water for specific use cases.

    Another place in the emulator that could be improved is handling of executable pages or cached output of the backend code generator. The executable code caching mechanism is very simple and could probably be much more aggressive on today’s systems.

    If you examine change logs, TCG really doesn’t get much TLC last time I checked. It could be a better emulator but performance outside of KVM use case is not as important to the project.