HNHacker News
TopNewBestAskShowJobs

IAmLiterallyAB

567 karma · joined March 22, 2018

submissionscomments
IAmLiterallyAB··on Parameterized types in C using the new tag compatibility rule
If you're reaching for that hack, just use C++? You don't have to go all in on C++-isms, you can always write C-style C++ and only use the features you need.
IAmLiterallyAB··on What the hell is a target triple?
> However, due to the runaway popularity of LLVM, virtually all compilers now use target triples.

That's a wild take. I think its pretty universally accepted the GCC and the GNU toolchain is what made this ubiquitous.

Also, the x32 ABI is still around, support is still around, I don't know where the author got that notion

IAmLiterallyAB··on Rsync replaced with openrsync on macOS Sequoia
I think its actually the anti-Tivoization stuff that they take issue with
IAmLiterallyAB··on An interactive-speed Linux computer made of only 3 8-pin chips
Fascinating!
IAmLiterallyAB··on An interactive-speed Linux computer made of only 3 8-pin chips
Surely emulating ARM on ARM would be faster / easier to JIT? Or at least it seems that way
IAmLiterallyAB··on A look at Firefox forks
Firefox is under the MPL, not the GPL
IAmLiterallyAB··on Comparing Fuchsia components and Linux containers [video]
There used to be patches in AOSP for Fuchsia but they all got reverted a couple years ago. I believe Starnix is the new strategy to get Android working on Fuchsia, if they are going to try for it.
IAmLiterallyAB··on Show HN: Uscope, a new Linux debugger written from scratch
Yay this is awesome! GDB is a buggy (https://sourceware.org/bugzilla/show_bug.cgi?id=18772 https://sourceware.org/bugzilla/show_bug.cgi?id=9425) mess and rough code quality, I've wanted a do something like this for a while.

To be 100% clear, it's not using gdb/gdbserver under the hood right?

The bugs I linked above are over a decade old, and I have to patch them every time I compile GDB server. Ultimately (IIRC) GDB needs to rework how it handles signals (to their credit, ptrace is a horribly stupid API, especially before PTRACE_SEIZE, so I don't blame them for having issues)

IAmLiterallyAB··on Process Creation in Io_uring
That is basically how Fuchsia handles it https://fuchsia.dev/fuchsia-src/reference/kernel_objects/pro...
IAmLiterallyAB··on I algorithmically donated $5000 to Open Source
One thing I want to try is looking at all the packages on a minimum install of a Linux distro. How many of those are just a dude?
IAmLiterallyAB··on The two factions of C++
> Herb side that proposes minimal changes

Herb is developing a whole second syntax, I wouldn't call that minimal changes. And probably the only way to evolve the language at this point, because like you said Sean is introducing a different language entirely, so its not C++ at that point.

I really like some of Herb's ideas,but it seems less and less likely they'll ever be added to C++

IAmLiterallyAB··on Linux Syscall Support
I've been using my own version of this. Maybe I'll switch over, this looks more complete.
IAmLiterallyAB··on Fitting a Forth in 512 bytes (2021)
I have a side project to try to make an extreme minimal size compiler for a Forth inspired language and implementation. It's a compiler that generates a Forth like interpreter and byte code. The bytecode is huffman encoded. Nothing works yet but its an idea.
IAmLiterallyAB··on C++ proposal: There are exactly 8 bits in a byte
I like the diversity of hardware and strange machines. So this saddens me. But I'm in the minority I think.
IAmLiterallyAB··on The three-page paper that shook philosophy: Gettiers in software engineering
I'm not sure I follow, do you have an example where merging makes things more obvious?
IAmLiterallyAB··on B-Trees and Database Indexes
Or Chromium mobile
IAmLiterallyAB··on Google Play will no longer pay to discover vulnerabilities in Android apps
And everyone knows its impossible to write malicious code for an iPhone...
IAmLiterallyAB··on Unix file access rwx permissions are simple but tricky
You can though! Stock Android supports multiple users. Just enable it in settings
IAmLiterallyAB··on Clang vs. Clang
You could just leave it on.

I agree it's not great.

IAmLiterallyAB··on Clang vs. Clang
Couldn't you syscall into the kernel to set the flag, then return back into usermode with it set?
IAmLiterallyAB··on macOS in QEMU in Docker
As long as it's on Apple hardware it's fine right? Or is there something else
IAmLiterallyAB··on Joe Biden stands down as Democratic candidate
Perhaps but people weren't getting dementia at 40 back then. It's not really relevant what the average life expectancy was
IAmLiterallyAB··on Artificial neural network approach to finding the key length of Vigenère cipher
Interesting. Implemented the Index of Coincidence version for a class in college. Was fun.

This seems like the kind of problem that could be better solved by coming up with a better algorithm. Like, ultimately the model is performing an "algorithm" of sorts on the data to guess the key length.

IAmLiterallyAB··on Crafting Interpreters
Planning to read this soon. Anyone got any other compiler book recommendations? Preferably modern (I've heard the dragon book is out of date)
IAmLiterallyAB··on Show HN: Dut – a fast Linux disk usage calculator
I'm surprised statx was that much faster than fstatat. fstatat looks like a very thin wrapper around statx, it just calls vfs_statx and copies out the result to user space.
IAmLiterallyAB··on I have no constructor, and I must initialize
> I think people like you just feel the need to have something to complain about

Thanks for the ad hominem

IAmLiterallyAB··on I have no constructor, and I must initialize
Horrific. One of the things that scares me about C++. A real shame because it has some cool features and some brilliant minds working on it.

I'm hoping something like Herb's C++ syntax 2 will make the language useable for mortals like me.

IAmLiterallyAB··on IPC in Rust – A Ping Pong Comparison
Also vmsplice
IAmLiterallyAB··on Hokusai's 'Great Wave' features on new Japanese banknotes (2019)
I'm an American who has recently fallen in love with ukiyo-e and shin-hanga. Hiroshige is my favorite artist right now. I'm hanging a print on my wall today for the first time. Really cool stuff!
IAmLiterallyAB··on I am not yet ready to switch to Zig from Rust
In my limited experience, it makes the hard cases harder. I had a project where I needed to do some weird linker things and ended up moving to C++ because Cargo couldn't handle it.
← PreviousPage 2 of 8Next →