HN user

jacobp100

386 karma
Posts7
Comments210
View on HN

I was looking into this. The M5 performance cores can be scaled down to match efficiency cores in performance and power usage.

I believe they lower the clock speed, limit how much work is done in parallel on each core, and limit how aggressive the speculative execution is so less work is wasted.

JpegXL and AVIF are comparable formats. Google argued you only needed one, and each additional format is a security vulnerability.

I am curious if the equation of CPU-determined graphics being faster than being done on the GPU has changed in the last decade

If you look at Blend2D (a CPU rasterizer), they seem to outperform every other rasterizer including GPU-based ones - according to their own benchmarks at least

Why do you think the padding as a percentage is relative to the width of the parent? Do you think it was a happy accident? I don't think so, it was purposefully put there in the specs so that we could have boxes with fixed aspect ratios. This is just the tip of the iceberg.

It’s because you cannot do a percentage of a height unless your parent’s height is fixed - something that happens naturally maybe 1% of the time. You’d be missing vertical borders in almost every case with your suggestion

I hope with Alan Dye now out of Apple they will revisit a lot of what just happened. There’s been a lot of places where things have just become worse

Since you’re on the topic, what ever happened to the multi threading stuff you were doing on JSC? Did it stop when you left Apple? Is the code still in JSC or did it get taken out?

CSS Grid Lanes 7 months ago

iOS used to do this using the Cassowary constraint solver pre-SwiftUI. It’s the worst thing to work with. So much code turning on and off constraints, dynamically adding constraints when you have new views. And that’s before you get into conflicts

CSS Grid Lanes 7 months ago

This might actually happen indirectly. Kagi’s new browser uses WebKit. macOS only now, but eventually it’ll come to windows

This basically makes a rust server to do the routing, then uses the Boa JS engine to evaluate the JS to handle the route

With this approach, you might be able to do some multithreading to improve the throughput

However, each request is almost guaranteed to be slower because V8 will be faster than Boa

You could also achieve this by spinning up multiple NodeJS instances and putting an nginx server in front to do load balancing - which is pretty standard practice

I do iOS dev as a side-hobby too (https://jacobdoescode.com/)

People are right it isn’t anywhere near a salary, but I have fun and it has opened job opportunities too

For marketing, I found /r/Apple very receptive to self promotion posts - just make sure you meet the criteria. You can also do a discount period and advertise on /r/AppHookup. Last Black Friday I reduced a $2 to 29c (lowest allowed price) and made just shy of $500, and it boosted my place in the store search

Best of luck!