Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ivankra
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
61.
▲
Netherlands – Capital Growth Tax and Capital Gains Tax for Box 3
(kpmg.com)
83 points
by
ivankra
11mo ago
|
115 comments
62.
▲
by
ivankra
11mo ago
Section 174's 15 years amortization rule on foreign R&D is kind of an indirect tax.
63.
▲
by
ivankra
11mo ago
Escargot is more spec-compliant than Hermes though. Sometimes you can't run V8 or any JIT engine because policy or politics, and it's nice to have options.
64.
▲
by
ivankra
11mo ago
I have some benchmark results here: https://ivankra.github.io/javascript-zoo/?v8=true It's impressively compliant, considering it's just a one man project! Almost as fully featured as Boa, plus or minus a few
65.
▲
Brimstone: ES2025 JavaScript engine written in Rust
(github.com)
239 points
by
ivankra
11mo ago
|
118 comments
66.
▲
by
ivankra
11mo ago
> Not seeing V8, SpiderMonkey JavaScriptCore is very strange... They do compare with JIT-less V8 and SpiderMonkey there, just JSC is missing. I recently did my own benchmarking with a lot more engines, including other Rust engines: http
67.
▲
by
ivankra
11mo ago
Tidied up benchmark and results: https://gist.github.com/ivankra/a950b2c37db48c66fe5dceb0acd8... Looks like quickjs is the next best option after the big three engines (V8/JSC/SM).
68.
▲
by
ivankra
11mo ago
My page is about generic JS benchmarks. Just did a quick run with a sample javascript challenge I got via yt-dlp ( https://raw.githubusercontent.com/ivankra/javascript-zoo/ref... ): $ time ./v8 /bench&
69.
▲
by
ivankra
11mo ago
> Although it will be a lot slower, I’m not clear just how slow. Around 30-50x slower than V8 (node/deno). I've been recently benchmarking a lot of different engines: https://ivankra.github.io/javascript-zoo
70.
▲
Show HN: JavaScript Engines Zoo
(github.com)
3 points
by
ivankra
11mo ago
|
0 comments
71.
▲
by
ivankra
1y ago
It works incredibly well with Linux VMs, my daily driver. I plug in a USB keyboard, external monitor and Can't Believe It's Not Linux. Only occasionally when I need to use the laptop screen/keyboard does macOS bother me and r
72.
▲
by
ivankra
1y ago
Funny you say that, as a long term Linux user who was in the exact same boat as you, I actually find Mac M4 my best Linux laptop purchase ever so far. I think what you're missing is its virtualization story. Put UTM on it, and you'
73.
▲
by
ivankra
1y ago
They allow, but Apple's policy is to lock down that ability pretty much just to Safari/WKWebView. If you could transpile/compile your program to JS or WASM and run it through one of these blessed options, it should get JIT&#x
74.
▲
by
ivankra
1y ago
Cataloging and benchmarking JavaScript engines: https://github.com/ivankra/javascript-zoo
75.
▲
by
ivankra
1y ago
Not anymore, https://github.com/bellard/quickjs
76.
▲
by
ivankra
1y ago
Well, runtime/warmup costs seems like one obvious downside to me - weval would add some non-trivial compilation overhead to your interpreter (unrolling of interpreter loop, dead code elimination, optimizing across opcodes boundaries -
77.
▲
by
ivankra
1y ago
> The initial naive application didn’t even yield much gains. Only after a bunch of optimizations that it really shines: a 30-46% speedup compared to the computed goto interpreter. Looks like quite a lot of complexity for such gain. 30-4
78.
▲
by
ivankra
1y ago
You can put stuff into the sign bit too, that makes 53. Yeah, the lower 52 bits can't all be zero - that'd be ±INF, but the other 2^53-2 values are all yours to use.
79.
▲
by
ivankra
1y ago
My favorite trick: NaN boxing. NaN's aren't just for errors, but also for smuggling other data inside. For a double, you have whopping 53 bits of payload, enough to cram in a pointer and maybe a type tag, and many javascript engin
80.
▲
by
ivankra
1y ago
Welcome to americans' reality! It's actually more humane than the way US treats its overseas citizens - no onerous PFIC/FATCA, and you have an option to divorce the tax system while still keeping your passport. Double taxatio
81.
▲
by
ivankra
1y ago
> You can not keep any assets like company or house there! Alternatively, simply keep both the house and company in Germany. No exit tax since, thanks to that house, you haven't technically exited, right?
82.
▲
by
ivankra
1y ago
US totally does: https://www.irs.gov/individuals/international-taxpayers/expa... - long-term (8y+) green card holders may need to pay up. One big difference is that the clock only start ticking after you get green
83.
▲
by
ivankra
1y ago
Or, alternatively, the bureaucrats in charge would argue that all EU countries need to implement similar exit taxation laws - that's where it seems to be heading lately.
84.
▲
by
ivankra
2y ago
I was pretty much in the same boat recently. Pulled the trigger and got M4 MBP - no regrets, great machine! Blows Intel-based competition by far away, double the speed of my beefy desktop build from 5y ago. Yea, I wish it could run Linux, b
85.
▲
by
ivankra
2y ago
Underresearched topic for sure. They do cite studies that show some effects, just not convincing enough. Perhaps the weak effects are because they seem to overindex on serum magnesium levels, which is just not a good marker of magnesium sta
86.
▲
by
ivankra
2y ago
You can apply it topically - look for magnesium oil sprays, these are usually just concentrated magnesium chloride. Works well too, gets absorbed systemically totally bypassing digestion, only side effect is oily skin. Reportedly, excess am
87.
▲
by
ivankra
2y ago
Vitamin B6 accumulates in the blood - it has an exceptionally long half-life on the order of several weeks. It's not an occasional overdose you have to worry about the most, but also chronic accumulation at low doses (even not much abo