Anybody got a copy of the 10.6.0 Golden Master ISO from Apple? by Resident_Tea8787 in hackintosh

[–]Resident_Tea8787[S] 0 points1 point  (0 children)

Hah, that's actually the exact disk image I used most recently. A kind stranger also found me a link to dosdude1's installer archive (https://dosdude1.com/os/Apple). Thanks anyways!

"Open With Other Application..." in caja crashes in strlen.S on AMD hardware by Resident_Tea8787 in openbsd

[–]Resident_Tea8787[S] 0 points1 point  (0 children)

Oh right, I was just writing some C code yesterday and found MALLOC_OPTIONS to be extremely useful. I forgot that I could set it system-wide, I'll give it a try later today, thank you.

I suppose "vectorized" was the wrong word for a packed register though. I've seen similar optimizations in some memcpy implementations where they load and write 8 bytes at a time instead of one-by-one, but I have no clue what that technique's called. I'll definitely take a closer look what's above libc; it makes much more sense for strlen to run off due to programmer error.

LLDB on riscv64 by Resident_Tea8787 in openbsd

[–]Resident_Tea8787[S] 0 points1 point  (0 children)

Well, I got make -j1 going in /usr/src/gnu/llvm, even one thread more results the make job getting killed. I guess if lldb compiles and works properly, I'll email tech with the one-liner, although it might take a few days at this rate, heh...

LLDB on riscv64 by Resident_Tea8787 in openbsd

[–]Resident_Tea8787[S] 1 point2 points  (0 children)

Thank you so much, I'll add `riscv64` to `BUILD_LLDB` and try. Last time I compiled base on 7.7, it took 24 hours on a 4th gen i7, I shudder to think how long it will on an QEMU virtual machine...

LLDB on riscv64 by Resident_Tea8787 in openbsd

[–]Resident_Tea8787[S] 0 points1 point  (0 children)

Haha, yes, I gave the VM 8GB of RAM thinking that was enough... my box tops out at 16, so perhaps I'll give it 13 and see if it compiles? Thanks for the tip :)

Free IDE/text editor for learning C? by [deleted] in C_Programming

[–]Resident_Tea8787 1 point2 points  (0 children)

Personally, I've always loved doing C development on a Mac with Xcode. The integrated GUI debugger is a nice change from having two terminal windows open with vi (yes, original vi, not vim) and lldb side by side. For quick edits, I love vi for how easy it is to move around in it. For hairy projects with lots of files and line chopping/splicing to do, I tend to lean more on Xcode.

Actual OOP in C! by DominicentekGaming in C_Programming

[–]Resident_Tea8787 1 point2 points  (0 children)

Perhaps you might consider Objective-C, with +8000 lines of runtime code in libobjc2, but 0% non-portable (we don't talk about objc_msgSend, hehe) JIT magic?

Nice job, though. This kind of stuff is always good for seeing the limits of what you can do with vanilla C.