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

ish runs a full blown x86 alpine linux distro.

As I understand it, ish implements x86 instructions and Linux syscalls as functions and translates running programs into arrays of calls to these functions, so all the machine code that will ever run is included in the app bundle, which at least satisfies the rules iOS enforces at runtime.

As for the rules as written, I suppose you could make reasonable arguments either way.


With truffle Ruby you don’t have to rewrite anything: Ruby code gets way faster and so does c code.

That is broadly my experience with pure Ruby, yes. In terms of C extensions, I know they were doing some work on this but it was a WIP last time I looked, although maybe I should refresh my knowledge on this if it's now all good to go!

Many native extensions just work with TruffleRuby, I'd estimate even the majority of the popular native extensions just work. Performance of native extensions is not always good, especially if they do a lot of back and forth between Ruby and native.

To give one example, DB adapters work just fine.


That's awesome news, and I can't get a more authoritative source than you! I'll do some tests and update my assumptions :-) I really do wish I saw more blog posts and things about TruffleRuby, but maybe that is just a sign I should make the effort myself.

Since I have you, if you could humor me at all, what do you think the biggest current sticking point to average Rubyists just flat out switching to TruffleRuby is nowadays? Or isn't there one?


When asking it to write a http library which can decode/parse/encode all three versions of it the usage limit of the day gets hit with one sentence. In the pro plan. Even when you hand it a library which does hpack/huffmann.

Someone measured how this reduced token efficiency, spoilers: efficiency is highest without any instructions.

https://github.com/drona23/claude-token-efficient/issues/1


Why is the Hono Websocket table non-monotonic in tokens vs costs?

Bloomberg has a clang implementation of reflection: https://github.com/bloomberg/clang-p2996

It has been on compiler explorer for a while

This has been used to add reflection to simdjson


You could just take simdjson, use its ondemand api and then navigate it with .at_path(_with_wildcard) (https://github.com/simdjson/simdjson/blob/master/doc/basics....)

The whole tool would be like a few dozen lines of c++ and most likely be faster than this.


Will be removed from the next release. Then you can’t connect to your own exchange server anymore and are forced into 365 when you want a desktop app.

You mean dos games, just run them under a dos emulator then.

Oh, no, before everything kind of converged to OpenGL and DirectX, there were oodles of different things trying to be the next graphics API.

There are the more obvious ones like 3DFX/Glide, but there was also stuff like the Diamond Edge 3D, which used Sega Saturn style "quads".


NO, I meant Windows games.

90s Windows ran inside of DOS, and you can run e.g. Windows 98 games (through Windows itself) in DOSBox. Look up exowin9x where they're trying to compile all of the necessary configs for one-click launchers.

I didn't think that regular DOSBox had support for stuff like 3dFX does it? Or other weird APIs?

I had to use PCem to get support for that stuff.


I tried running the elder scrolls Redguard, on wine, which launches windows version of dosbox with glide support. Redguard is a weird beast which is installed only with windows installer, but the actual game runs in dos mode

Everything works but the frame rate isn't great

If anyone knows a good Redguard setup for Linux please mail me, you can guess my mail easily. Now I just run the gog version


I've had some success with installing windows in dosbox-x which has glide support. Faster and more lightweight than pcem/86box

Then you can use dosbox-x which can run any non nt windows version and has support for 3d acceleration

Again, I meant windows games, not DOS games.

Windows before NT is just a dos app, and dosbox(-x) can play all windows games up to those which require ME.


The temps don’t affect your range that much, it’s mostly the tires.

I got a heat pump and using the heater or AC only needs around 1 kWh during the winter or when it’s hot.

But winter tires increase the power consumption by 30%, just like with a diesel.


Seams to be a non issue in the south, I can charge near my house, everywhere I have to do something and at work.

Aka, every super market has at least one charger. Most parking spaces have 2-3 chargers. From various vendors. Some even for less money then you can get for your own house per kWh.

I also had no issues in the north east so far or in north rein westfalia.

Chargers usually don’t break but get shut down when the grid can’t handle their load currently.


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

Search: