HackerTrans
TopNewTrendsCommentsPastAskShowJobs

dimitropoulos

973 karmajoined 8 năm trước
https://github.com/dimitropoulos

organizer of https://www.youtube.com/@MichiganTypeScript

Submissions

60% Fable cost cut by converting code to images and having the model OCR it

github.com
312 points·by dimitropoulos·8 ngày trước·99 comments

VST3 and ASIO SDKs now have open source licenses

cdm.link
2 points·by dimitropoulos·9 tháng trước·0 comments

comments

dimitropoulos
·Hôm kia·discuss
nope! never heard of them! (note: I'm the guy that did the Doom in TS types thing) what type-level fun do they bring to the table?
dimitropoulos
·3 ngày trước·discuss
I answered here https://news.ycombinator.com/item?id=48838629
dimitropoulos
·3 ngày trước·discuss
I was referring to the type system in the formal "specification" sense, not the implementation details of the compiler, such as the compiler's runtime (Go, or, in the past, JavaScript/Node). it's too bad there's no specification for TypeScript the way there is for JavaScript and many other things (most?). in that sense, the performance of the type system is uncoupled from the semantics of the type system itself (as the Go port has thoroughly illustrated!).

I mentioned Hindley-Milner because I am under the belief that the HM system (as in OCaml) is, in the same formal/semantic/specification sense, perhaps more advanced. but, as is often with these things, the rubber meets the road on which one of them has been shown to actually run Doom, lol, to which TypeScript is currently the undisputed king.
dimitropoulos
·3 ngày trước·discuss
jokes aside, have you heard of the Jevons Paradox[1]? it feels like the "induced demand" effect to me with the whole "just one more lane" phenomenon you sometimes can see in roadways. when you increase the efficiency of a thing you thereby expand the set of things it can economically be used for, causing an overall increase in total consumption over time - not a decrease like you'd expect from just having made it much more efficient. "a smaller slice of a much bigger pie is still more pie" or something like that.

in TypeScript's case with the "pie" being compute time, things like HKTs (e.g. hotscript, hkt-toolbelt) that might not have made as much sense in the past suddenly become so much more feasible, but also are the very things that drag that hard-fought efficiency win back down into the mud. is it worth it? library authors will ultimately be the ones to decide the big chunks of that question by virtue of what they ship in their types.

[1] https://en.wikipedia.org/wiki/Jevons_paradox
dimitropoulos
·3 ngày trước·discuss
good points, let's get negated types and higher kinded types in there then you've got yourself a deal. maybe regex thrown in too for flavor
dimitropoulos
·3 ngày trước·discuss
the real story here is an incredible team that managed to simultaneously keep two separate codebases alive for the most advanced type system known to mankind (yeahhh yeahh Hindley-Milner eat your heart out).

huge congrats to the team!

looking forward to the Rust rewrite ;)
dimitropoulos
·8 ngày trước·discuss
there's also a DeepSeek whitepaper on this technique https://www.seangoedecke.com/text-tokens-as-image-tokens
dimitropoulos
·3 tháng trước·discuss
> Libraries like Effect have increased the popularity of generators, but it's still an unusual syntax for the vast majority of JavaScript developers.

I'm getting so tired of hearing this. I loved the article and it's interesting stuff, but how many more decades until people accept generators as a primitive??

used to hear the same thing about trailing commas, destructuring, classes (instead of iife), and so many more. yet. generators still haven't crossed over the magic barrier for some reason.
dimitropoulos
·6 tháng trước·discuss
it's interesting that in this article you see all three: TypeScript, Typescript, and typescript.
dimitropoulos
·8 tháng trước·discuss
with all the hype around durable execution... what makes it difference from job queuing solutions like BullMQ or Agenda.js that rely on DLQ on top of Redis or Mongo? is it just a DX thing?
dimitropoulos
·8 tháng trước·discuss
wow great example - I'm also baffled by this. is this just not a great example because it seems like it's reinventing the wheel
dimitropoulos
·8 tháng trước·discuss
didn't the latest unreal release have something voxel related? cool to see more voxel stuff happening. we've come a long way since the Euclideon "unlimited detail" days.
dimitropoulos
·năm ngoái·discuss
thank you for the clarification. you're right. I guess I was just trying to say that it's a spectrum (even if Rust is very very far along the way towards not having any holes). I can't seem to find it but there's some Tony Hoare or maybe Alan Turing quote or something like that about the only 100% correct computer program to ever exist was the first one.
dimitropoulos
·năm ngoái·discuss
hi! author of the Doom thing, here. while I won't be the one to try, my answer is "absolutely yes, it will make a massive difference". Sub-1-day Doom-first-frame is probably a possibility now, if not much more because actually the thing that was the largest bottleneck for Doom-in-TypeScript-types was serializing the type to a string, which may well be considerably more than 10x faster. Hopefully someone will try some day!
dimitropoulos
·năm ngoái·discuss
did you contribute to the current TypeScript codebase? (not intended snarky, just curious)
dimitropoulos
·năm ngoái·discuss
I love Rust, but you can play exactly the same game with Rust: https://github.com/Speykious/cve-rs
dimitropoulos
·năm ngoái·discuss
well, thanks for explaining. we might just simply disagree here. when I hear "TypeScript" I think of TypeScript, and when I hear "JavaScript" I think of JavaScript. I know what you mean re: casually speaking, but this is a blogpost from the TypeScript team. That context is there, too. I think if the same title were from an AWS release note, I'd totally see what you mean.
dimitropoulos
·năm ngoái·discuss
yes, and TypeScript is not JavaScript. Objectively, every element of _TypeScript_, strictly speaking, is well known to be separate.
dimitropoulos
·năm ngoái·discuss
he went into the C# question in more detail this interview: https://youtu.be/10qowKUW82U?t=1154s
dimitropoulos
·năm ngoái·discuss
he went into more detail about C# in this one: https://youtu.be/10qowKUW82U?t=1154s