101 karma · joined Sep 19, 2009 (17y ago) · 27 submissions
:-)
comment 2mo ago · link · parent
I would love a review of the new developer and OS level features for macOS releases. The WWDC content is close to unwatchable, it never goes into enough depth and the video only delivery is not the primary way I want to consume technical content. Give me the cool highlights of the virtualisation framework, what still works with Dtrace , explain the infernal code signing permissions system, etc.
So far I've kept to Sequoia as the least annoying version, and avoided the Liquid Glass rounded corners mess.
comment 2mo ago · link · parent
3.
IBM Z and LinuxONE Dual-ISA Processor(servethehome.com ↗)
3 points · by lambda_foo · 3mo ago · discuss
4.
OCaml 5.5 Released(discuss.ocaml.org ↗)
4 points · by lambda_foo · 4mo ago · discuss
comment 8mo ago · link · parent
With Multicore OCaml we gained thread sanitizer support and a reasonable memory model. Combined they give you tools for reasoning about data races and finding them. https://ocaml.org/manual/5.3/tsan.html
comment 11mo ago · link · parent
Then there is the line number evaluation, which I haven't started on.
Building a Debugger by Sy Brand (https://nostarch.com/building-a-debugger) is an awesome book if you want to learn more about this. It covers DWARF 4 and you build a full debugger in C++17 for Linux/x86_64. Can't recommend that book highly enough!
comment 11mo ago · link · parent
My motivation for writing this from scratch is to simultaneously understand DWARF 5 in all its gory details, develop tooling to support my work on the OCaml compiler, and to build a source debugger in OCaml. The performance or lack of isn't a focus right now, I'm sure it doesn't compare to gimli-rs for performance but it does fully support DWARF 5 which gimli-rs doesn't (missing debug_info section support https://github.com/gimli-rs/gimli/pull/807).
Currently I'm working on the read support, and various bits of tooling around understanding Call Frame Information and simulating the DWARF expression evaluation. I'm unhappy with the tooling GDB/LLDB provide for displaying and debugging this information, I've personally spent far too much time staring at CFI expressions and walking memory looking for where it goes wrong. In the OCaml compiler we have few people that understand or work on this area.
comment 12mo ago · link · parent
Plus it puts the burden of reviewing the AI slop onto the project maintainers and the future maintenance is not the submitters problem. So you’ve generated lots of code using AI, nice work that’s faster for you but slower for everyone else around you.
comment 1y ago · link · parent
The missing piece for OCaml is debugging native code, the compiler doesn't emit enough DWARF information and debuggers like LLDB or GDB, need to be modified to understand OCaml's DWARF information. Even there DAP with LLDB/GDB works, it's just the debugger doesn't have enough information to work well. You end up working with debugging assembly or C (if it's parts of the runtime). I've written up a PR documenting native debugging here https://github.com/ocaml/ocaml/pull/13747.
17.
LLDB's TypeSystems: An Unfinished Interface(walnut356.github.io ↗)
1 points · by lambda_foo · 1y ago · discuss
comment 1y ago · link · parent
https://davidchristiansen.dk/pubs/dependent-haskell-experien...
The video is on YouTube somewhere. Having used Haskell and some dependently typed Haskell around the same time, I thought it was a fair assessment of state of play.
comment 1y ago · link · parent
comment 1y ago · link · parent
21.
Why do frame pointers matter for OCaml?(lambdafoo.com ↗)
18 points · by lambda_foo · 1y ago · discuss
comment 3y ago · link · parent
It seems like it’s a relatively easy swap from js_of_ocaml to WASM. That’s the option I’ve chosen for my experiments.
comment 3y ago · link · parent
Time will tell if both survive, they are both under active development. IMHO target different use cases.
comment 3y ago · link · parent
25.
OCaml 4.13.0 (and 4.12.1) Released(discuss.ocaml.org ↗)
6 points · by lambda_foo · 5y ago · discuss
comment 12y ago · link · parent
From my perspective it seems like there is more activity and research going on in Haskell.
comment 16y ago · link · parent
We follow a very similar process in our house. If it hasn't been used in 6 months or so it goes out the door. Either to charity or ebay.