@eeuoss@RoseSilicon@Jonathan_Blow@cmuratori And last, but not least, that quote is from an irish playwright called Bernard Shaw... you donkey :))) he actually makes fun of political socialist theorists like Marx ๐คฃ๐คฃ๐คฃ are you russian ? It would explain everything (especially the fact that you appropriate that quote)
@eeuoss@RoseSilicon@Jonathan_Blow@cmuratori He has also done a terminal in his fuckign spare time that was orders of magnitude better than the microsoft one when retards like you, but obviously from some time ago, have said otherwise like " oh noo, phd project too complicated": https://t.co/TUw386DSR9
@eeuoss@RoseSilicon@Jonathan_Blow@cmuratori Casey DID plenty of things you moron. If you played any of the following games (ss) you played something that Casey touched with his character animation library Granny 3d. And now he is graceful enough to share his knowledge, often for free. You have no idea what you are saying
@mitchellh@FUCORY Gotta love this. I started learning more about computers and how they work and that definitely made me fall in love with this profession. Mitchell your blog about the zig compiler and ghostty write ups are a big part of that; the rest is basically Casey Muratori on yt =)) thanks
I am trying to help some EU folks find a US distributor for their (real, not computer) notebooks, since I like them and would like to be able to buy them without traveling to Europe every time :)
Details here:
https://t.co/Ttz9J4BB6i
@realamlug Js is always fucking slow what are you talking about ? And that is with all the might of google put behind it to create v8 and perfect it over the years. Imagine if they put that ammount of effort into go or other aot compiled language ?
Here's part 3 of my video series on memory management. It has a fun and slightly cursed exercise of reimplementing the function call stack in user code, demonstrates frame allocators / arenas, and looks at a couple of freelist implementations.
https://t.co/flD6cxdpSt
@NickBlow@valyala@siddontang The language is also getting simd support finally, so literally everything is there, but even without that built-in, there were libraries already in go. I wrote one myself. Cause then you get into that simd +simt via go routines type processing and it really doesn't miss a beat
@NickBlow@valyala@siddontang Ahahahh, true, but it is a much better project though, at least on the parsing graphs part. Like...if you reduce the gc overhead (i.e. not have heap allocations as much as possible) go really is like 90-95% of c speed (there are some compiler opt. not happening in go).
@realjudgeholden@valyala@NickBlow@siddontang Memory is not an issue in the cloud is such a retarded statement . Sure buddy. Pay 1b per year to aws for 500 severs instead of running it on a 12 pound vps. (Not that go would be a bad choice for that, not at all) Latency is often cpu related buddy, nvme's go brr at 5+gbs/s.
Appreciate the follow-up, and no apology needed for building something. The only issue was the characterization of the comparison. I'm sorry it got so much attention!
I gave the feedback in exactly the same tone and style I would if someone I worked with professionally (at any level) came to me and showed me the work and made the same claims.
I looked at the way you process/drop data in your circbuffer and VT parser and I was suspicious of HOW much you want to sacrifice correctness, so I want to be specific about what "sacrifices correctness" means here, because I think it's more than it sounds.
I'm NOT trying to "mog you" or be mean here, I'm just trying to point out some things you might find helpful, and perhaps help you learn something (if you want).
- A 120 KB plain text file: 137 of 300 lines never exist (e.g. your dropping data that technically fits in your scrollback), and the first visible row is a mid-line cut-off fragment.
- Same file preceded by CSI ?1049h (the alt-screen switch) is dropped, so all 163 surviving rows land on the primary screen and in scrollback.
- A cut inside a truecolor SGR prints `;2;226;54;22m` as text. Similarly, a cut inside an OSC 8 prints the URI as text.
The threshold for this isn't a massive firehose. It's any output over 64 KiB between frames: a `git diff`, a stack trace, `ls -R`, a verbose build. That's ordinary terminal use, almost completely ordinary text.
A terminal is a stateful protocol, as you hopefully know. If a mode change is in the dropped span (alt screen, bracketed paste, mouse tracking, kitty keyboard flags, a scroll region), the app and the terminal disagree for the rest of the session and nothing resyncs them short of a full RIS.
The line-based skipping also can't be made correct even in principle, because terminal state isn't line-local. SGR persists across lines, cursor position depends on every CR/BS/tab/wide char before it, and full-screen apps don't emit newlines at all, they use CUP.
I repeat: none of this is shade. "Greedy, drops data, trades correctness for speed" is fine. It's just a different category from a terminal emulator, and I would highly recommend you do not call it that.
And again, I hope you understand especially at this point, that I'm giving this feedback in an earnest way attempting to educate and help. I would give the feedback the same way to anyone who works with me.
Good luck with your project.