Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
strmpnk
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
strmpnk
5y ago
I had a diplomatic passport for many years as a kid. It was definitely handy in our case as cops were quite corrupt where we were living and would try to con us out of money all the time. I don't know how far it'd go in court or u
2.
▲
by
strmpnk
5y ago
Quanta Magazine does an excellent job with balancing accessible writing and advanced topics. It's just enough to get someone interested in the problem and the basic ideas to start thinking about it.
3.
▲
by
strmpnk
5y ago
I wouldn’t call twice as fast neck and neck (others seem to show that the old interpreter is neck and neck) but the primitive JIT is clearly pulling ahead here.
4.
▲
by
strmpnk
5y ago
I was curious to see what my JIT build looked like for me so I ran the following: https://gist.github.com/cararemixed/c232b888b9dbdaeb67967f35... This shows a significantly different story between the two with at least
5.
▲
by
strmpnk
5y ago
This is sort of what Pony did with its ORCA based GC. It has some tricky edge cases to optimize in practice but it can be made to work especially well if data is immutable.
6.
▲
by
strmpnk
5y ago
The analog for that would be shared literals which are not copied (super important for small map overhead reduction if the constructor initialized a fix set of keys like elixir structs as the key index is shared). The persistent_term module
7.
▲
by
strmpnk
6y ago
I’d suppose some of it relates to sites with heavy ads. Safari with no extensions will likely require more resources which makes the comparison a little skewed vs Safari with some ad blocker support added via extensions. It looks like their
8.
▲
by
strmpnk
6y ago
I’m trans and agree with this, though I offer another reason to avoid making it compulsory. Before I came out I felt very awkward with regards to my own pronoun display. I wasn’t ready on one hand and on the other I felt terrible seeing oth
9.
▲
by
strmpnk
6y ago
I looks like it’s written in Rust which isn’t super special but would be far easier to embed as a library in other languages compared to Go in OPA’s case. Polar also seems like a nicer policy language (strong Prolog vibes) though this is su
10.
▲
by
strmpnk
6y ago
This is true, but the difficulty of making a general purpose FPGA fabric manipulate generic bitstream descriptions in an undetectable way is much harder than putting hidden backdoors in well defined ISAs. What amount of hardware validation
11.
▲
by
strmpnk
6y ago
The other plus of text replacement is synchronization. I have a bunch of LaTeX style symbol names mapped on my Mac but they work just as well on my phone. I’m typing this on a phone and \Omega is automatically replaced with Ω or a favorite
12.
▲
by
strmpnk
6y ago
I don't think this is the issue the prior article mentions about the bit string syntax. It's a notational problem paired with the combination of bit numbering and byte endianness. The article makes it look trivial but if you note
13.
▲
by
strmpnk
6y ago
It does apply to Elixir. It will help all around performance but more so it does this on a per-instruction level by reducing dispatch cost in that the interpreter pays (as well as managing to specialize things a little better than what the
14.
▲
by
strmpnk
6y ago
I remember that year. I was giving a talk at EF during the same time slot but the schedule originally had me in the large room and they had a much smaller one. When the news of the acquisition hit, everyone wanted to see the WhatsApp talk.
15.
▲
by
strmpnk
6y ago
This is far from the first JIT effort for BEAM. I'm sure the authors have rolled many years of learnings and experience into this one. Still, you make a good point, it will need a lot of testing by the community before I'd trust i
16.
▲
by
strmpnk
6y ago
I believe the distribution layer built on top of ETS and DETS you’re trying to name is mnesia. It supports distribution and allows a variety of interesting topologies. It’s not the only distributed data store available on the BEAM but it’s
17.
▲
by
strmpnk
6y ago
I can also mirror this general guideline. I've run 250+ node erlang clusters just fine in the past. There were some caveats to how some built-in OTP libraries behaved but they were easy to replace or workaround in the past. That was ma
18.
▲
by
strmpnk
6y ago
WSL is available on Home (including WSL2, you just don’t get access to all of hyper-v even if it’s running).
19.
▲
by
strmpnk
6y ago
Much of the erl_interface functionality prefixed with erl_ names has been deprecated since OTP 22 and has been removed. The API has shifted to newer ei_ prefixed functions. I believe there are some new deprecations in place as well which yo
20.
▲
by
strmpnk
7y ago
It’s technically the receive primitive doing this using the after clause. The addition of unique references and selective receive then allows “call” style interactions to built (like gen_server). Likewise, links and monitors are used for li
21.
▲
by
strmpnk
7y ago
I see. Fair enough. It's definitely something I know can work but like most things it does take work and sometimes it's not worth the trade in effort for the capabilities one might gain otherwise. Badfun errors are a great example
22.
▲
by
strmpnk
7y ago
That’s a bit misleading. Many of their patches were needed and had been contributed upstream by the time Phoenix was being tested as such. Still, this is a great benefit of sharing the ecosystem as such as everyone gets to benefit from this
23.
▲
by
strmpnk
7y ago
I’d not consider relup and module loading the same feature. It is rare to see relup (though I have used it, it’s tricky to make work) but hot code loading of modules was something we used extensively both during development but also in prod
24.
▲
by
strmpnk
7y ago
The lava is pouring into the deeper cold water and causing it to rise. At least that’s how I read it.
25.
▲
by
strmpnk
7y ago
There is ongoing to work to allow support for counted looping (including a working patchset that is under review) but in general it's true that an eBPF program does not allow a given segment of code to have multiple entry points (a gen
26.
▲
TLA+ 1.6.0 Released
(github.com)
3 points
by
strmpnk
7y ago
|
0 comments
27.
▲
by
strmpnk
7y ago
AFAICT lanes are not shared but there are chipsets which can break lanes out into other sets of lanes which are then routed back onto the original set of lanes. So if your CPU has 16 lanes you can hang a chip off of it which then provides m
28.
▲
by
strmpnk
7y ago
It's definitely true, though likewise, it's expensive to use locks in such places too. The main idea with Pony's runtime is that contending for an actors attention will certainly incur costs but independent pairs of actors sh
29.
▲
by
strmpnk
7y ago
Thanks for this tip. I find myself a little more reluctant to rely on environment variables for this sort of thing but it'd be fair to say the same about filesystem state. My only problem with this solution is that it changes the mix c
30.
▲
by
strmpnk
7y ago
The original claim is just as pointless. The implication that Elixir fixes Erlang's syntax is so commonly repeated without much discussion that it has many folks dismissing the entire language before they learn it. I think both languag
More ›