Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lukego
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
30 ms
·
211.
▲
by
lukego
8y ago
There’s also an active fork of LuaJIT called RaptorJIT that’s oriented towards building whole applications rather than embedding.
212.
▲
by
lukego
8y ago
Tangentially, here is one way to think about how tracing JIT works: 1. Set a breakpoint at the start of a loop that you want to compile. 2. Single-step one iteration of the loop, stepping down into every function call, logging everything th
213.
▲
by
lukego
8y ago
I’m writing a C port of the LuaJIT VM at the moment. I’m hoping that will help people to understand the overall design and make it easier to interpret the asm code (amongst other things). Link: https://github.com/raptorjit&#
214.
▲
by
lukego
8y ago
You should also be able to find plenty of discussion threads in the Bogleheads forum started by other people who have found themselves in this position over the years.
215.
▲
by
lukego
8y ago
Sounds a lot like trying to get computer hardware interfaces published so that people can write their own drivers for them!
216.
▲
by
lukego
8y ago
Since we are looking at PCI Ethernet drivers written in languages other than C (fun!) here is one written in Forth too: https://github.com/openbios/openfirmware/blob/master/dev/ne2... Good to rememb
217.
▲
by
lukego
8y ago
I can see where you are coming from. Just $0.02 these issues don't bother me so much in my day-to-day usage over many years (though this is with LuaJIT/RaptorJIT so YMMV.) The default numeric type (double float) can precisely rep
218.
▲
by
lukego
8y ago
I’m starting my kids on electronics. LEDs, buttons, breadboards. A bit of soldering. Soon transistors. Reminds me of my “BASIC in the 80s” childhood even though it’s circuits rather than programs. Kits cost about $2.50 on Aliexpress.
219.
▲
by
lukego
8y ago
The bugs have been shaken out now and it works fine in production. That's true at least on x86-64 with common build options and the latest LuaJIT prerelease.
220.
▲
by
lukego
8y ago
Realtime audio sounds like a good domain. You might also want to check out LuaRadio if you haven't already. http://luaradio.io/
221.
▲
by
lukego
8y ago
No, that restriction is gone. Peter Cawley did the hard work and added optional support for 64-bit heaps to LuaJIT upstream [1] and RaptorJIT adopted that exclusively i.e. dropped the 32-bit heap option which involved a LOT of #ifdef'e
222.
▲
by
lukego
8y ago
RaptorJIT is good for writing applications like Snabb. Snabb is a networking framework that’s very low level: cycle-counting loops, device drivers, DMA, etc, in Lua. In this domain of high performance software networking the advantages of s
223.
▲
by
lukego
8y ago
I like the 7-cpu.com benchmarks that also look at both the latency and the throughput (latency/parallelism) of the memory hierarchy. https://www.7-cpu.com/
224.
▲
by
lukego
8y ago
Nix reminds me of tuplespaces. Each derivation in the store is a tuple describing how to evaluate a result. Active evaluations also activate their dependencies.
225.
▲
by
lukego
8y ago
Sounds like a bargain to acquihire pkhuong... https://www.pvk.ca/ ;-)
226.
▲
by
lukego
8y ago
Now we are also starting to see national networks passing all their traffic through drivers written in Lua. Couple of talks about this at RIPE recently e.g. https://ripe76.ripe.net/presentations/105-lw4o6-ripe.pdf
227.
▲
by
lukego
8y ago
LuaJIT is awesome. It's just amazing how much information is available to the JIT. I've been using it for more than five years now and I still can't believe that such a high-level dynamic language actually is competitive wi
228.
▲
by
lukego
8y ago
I would want to control for CPU microarchitecture when doing benchmarks like this. It bugs me to see prefetch calls going upstream into various projects based on one microbenchmark on one (unspecified) CPU. This is a moving target.
229.
▲
by
lukego
9y ago
Roassal is cool. I'm using it for my interactive visualizations of program state. Here is the tutorial I like: http://agilevisualization.com/
230.
▲
by
lukego
9y ago
I chose Pharo for a project recently ( http://github.com/studio/studio/ ). I am enjoying using it in production. The Glamorous Toolkit framework (Inspector and Spotter) is saving me a huge amount of work. I see Phar
231.
▲
by
lukego
9y ago
Speaking of Lisp and Forth, I was really stunned when I noticed that adding syntactic support for "structs" in the language is about 10 lines in Forth ( https://github.com/openbios/openfirmware/blob/m
232.
▲
by
lukego
9y ago
> Rarely used packages go unmaintained. I have a related pain-point. I want to maintain nix packages on their own long-lived branches. I also want to base these branches on the latest stable release rather than unstable. This would requi
233.
▲
by
lukego
9y ago
Have you seen the library function cleanSource() and related routines? I use these for excluding files (e.g. by filename extension) from being visible in builds. This might suit your use case too. https://github.com/NixOS&#x
234.
▲
by
lukego
9y ago
Hurray! I love Nix and I have been looking forward to this new makeover of the UI with the 'nix' command. It seems like the original command line usages developed incrementally over time, making them quirky and inconsistent, and s
235.
▲
by
lukego
9y ago
What a guy!
236.
▲
by
lukego
9y ago
There's a simple technique to "control for" those factors. First you split your population into groups that each have a similar race, gender, and age. Then within those groups you make comparisons of the hotmail users to the
237.
▲
by
lukego
9y ago
Thanks for writing this. My mind is buzzing now with ideas for how I could reserve and misuse a vector register :).
238.
▲
by
lukego
9y ago
Alert me when my service providers introduce newer better deals and quietly grandfather me onto older worserer ones. Like today I called my ISP to upgrade to a faster connection that is cheaper than my old slow one.
239.
▲
by
lukego
9y ago
Me too. I resisted in the past because they ask for a phone number and I don't want magazines to have that in their CRMs (fool me once...) but it seems like they can accept an obvious fake.
240.
▲
by
lukego
9y ago
I am developing a LuaJIT fork nowadays (RaptorJIT) and I would love ideas about the best way to fund that! I have experience with commercial open source but I am not sure how well that translates to development tools like compilers/deb
More ›