sp_log() writes directly to an IO writer. An IO writer can be buffered or unbuffered, but is unbuffered by default. This is a feature, not a bug. Have a look through the IO code!
Cheers and thanks for reading.
717 karma · joined April 14, 2018
please contact me if you'd like! domain above, and my handle is spader. does this kind of you-know-what obfuscation even work anymore? ah, well. send me something.
sp_log() writes directly to an IO writer. An IO writer can be buffered or unbuffered, but is unbuffered by default. This is a feature, not a bug. Have a look through the IO code!
Cheers and thanks for reading.
As far as the syscall thing, it's actually quite interesting. NT is also extremely stable. Likewise for the stock Darwin syscalls on macOS. In practice, though, Windows loads kernel32.dll automatically, so there's no drawback in using it when appropriate. I still call directly into NT sometimes (mostly to skip complex userspace path translations that aren't useful). On macOS, you are likewise forced to link to libc (libSystem.dylib), and so I usually just end up using the syscall-wrapper libc functions there.
Zig is obviously incredible and this library would not exist without it being the standard bearer for systems programming in many ways
Or, to put it another way, the description: "Tight-C is a minimal systems programming language that transpiles to C. 10 keywords, no garbage collector, no inference, no OOP — just explicit, predictable code with C-level power."
Tells me a lot about what it's not but not much about what it is.
Just to be clear, this isn't really criticism. I've had similar ideas, so I think the proposition is basically good. I just think that anyone who would use such a language would want to know its technical core. Also, another piece of unsolicited advice, you should think of a nontrivial use that no existing language can do and do it. For example, if you had a small example with a game loop that links to libtc, watches for changes to source code, and recompiles + fills in a table of function pointers for in-process hot reloading, that would be sweet and would make me seriously consider the language.
Finally, you may be interested in my C standard library replacement (https://github.com/tspader/sp). Your language would benefit from being extremely portable, using sp.h as your base gives you that by default.
I don't understand why there aren't more folks like us shouting it from the rooftops. It's almost bizarre how good it looks.
Being dismissive like this doesn't make you look cool, it just makes you look like a dick.
Taking into account the shape of different ASCII characters is brilliant, though!
Is it just Zed + Obsidian? A good knowledge base that scales well and uses plain markdown, but has the fancy multi edit stuff?
That is, if that's not pulled in to latest OC by the time I post this. Not sure what the release cycle is for builtin plugins like that, but by force specifying it it definitely pulls master which has a fix.