Live data from Hacker News

Scriptc by Vercel: TypeScript-to-Native compiler, no JavaScript engine in binary

github.com

131–140 of 165 posts

Re: Scriptc by Vercel: TypeScript-to-Native compiler, no JavaScript engine in binary

#133
post #116

Earlier quoted context omitted.

That's a one big hell of a contribution ;-) https://github.com/vercel-labs/scriptc/commit/725b931cf43ba7...

I get so irritated every time Claude says "honest". Anthropic talks about how they specifically engineer for it to be "honest". I'm convinced they're just measuring how many times it says the word honest instead.

I have spent a small fortune in tokens trying to get Anthropic models to attempt proofs of things like the irrationality of the Euler-Mascheroni constant, and to make lattice reduction / SVP algorithms that rival SOTA methods like the G6K sieve, and all sorts of difficult frontier problems. It says 'honest' as a euphemism for giving up, because it knows I'm being a crank, and because the training data contains a lot of pessimism.

But I can get around this by first having it write a prompt for itself discussing the problem followed by a rousing speech about never giving in and admitting defeat, but pressing on towards results regardless of how hard matching SOTA results is.

Re: Scriptc by Vercel: TypeScript-to-Native compiler, no JavaScript engine in binary

#134

Earlier quoted context omitted.

> Never for a compiler, who even is that person? Why do you care? It's a stranger from the Internet. Same as with any other software you're using. In particular, same as with any OSS tool you're using.

> > Never for a compiler, who even is that person? > Why do you care? > It's a stranger from the Internet. Same as with any other software you're using. In particular, same as with any OSS tool you're using. Don't you think that even if you don't know someone personally, you can calibrate your trust in their ability based on reputation, track record.

Yes. But we usually start with a high default, and only recalibrate if there's a specific reason in a given situation (e.g. there's been a specific user or sets of users involved in spreading malware, and software in question could've been targeted).

Re: Scriptc by Vercel: TypeScript-to-Native compiler, no JavaScript engine in binary

#136

Earlier quoted context omitted.

What we do is absolutely engineering, there’s just a lot less credentialing upfront and rigor before something is released, because usually people’s lives do not depend on it and it’s easy to release updates. But it is indeed engineering, and that’s OK.

Why is it engineering what makes it engineering

We use science and technology to design, build, and maintain complex systems that solve real-world problems.

Do you have some other definition of engineering that excludes SWE?

Re: Scriptc by Vercel: TypeScript-to-Native compiler, no JavaScript engine in binary

#137

Earlier quoted context omitted.

Publishing a lib as JS with .d.ts type files gives you JS compatibility and TS types for using the lib, but no TS source so no types inside. I’ve seen people want to publish TS libs but there are issues: TS will type check the libs as well as your project. You can’t tell it to stop just because it’s going inside node modules. And the app may have tighter settings than the library and you will get type errors if your…

When publishing on jsr.io, you upload the TypeScript, and if using Deno, you also download TypeScript (with import statements rewritten.) Having nearly the original source code is better for debugging. Deno doesn’t type-check external dependencies unless you ask.

With the exports rewritten? Maybe we should have a export of “ts” like we have “types” instead?

Re: Scriptc by Vercel: TypeScript-to-Native compiler, no JavaScript engine in binary

#138

Earlier quoted context omitted.

"Actual engineers" don't really care about software engineering, much less a strong emotion at all like the "deepest contempt" and many of them already vibe code today for their work anyway.

Oh no, we do, because the software world has been abusing what engineering means for decades, in order to inflate job titles. Most people are programmers, not software engineers, and that's OK.

Maybe you're an outlier seeing as you're even on this forum. Most other non software engineers I know do not give a single thought about "title inflation," it does not even register in their minds as a topic to think about.

Re: Scriptc by Vercel: TypeScript-to-Native compiler, no JavaScript engine in binary

#139

Earlier quoted context omitted.

Kind of funny seeing a serious (?), grown up, for-profit company acting the same way as my scatterbrain clinging into this month's fascination. Luckily, most of my things never see the light of day, so they don't get referenced a month later in a HN burn when I publish yet another project I'll stop working on in a month.

Is it really that bad of an idea to experiment, put things out into public, and see what works and what sticks? They haven't abandoned agent-browser and portless, which came out of these vercel-labs efforts because they're useful tools and people are using them.

Back in the days we used to call this R&D.

Re: Scriptc by Vercel: TypeScript-to-Native compiler, no JavaScript engine in binary

#140
post #116

Earlier quoted context omitted.

That's a one big hell of a contribution ;-) https://github.com/vercel-labs/scriptc/commit/725b931cf43ba7...

I get so irritated every time Claude says "honest". Anthropic talks about how they specifically engineer for it to be "honest". I'm convinced they're just measuring how many times it says the word honest instead.

yeah, it crazy.

I checked my history and mapped how often it started to use "honest" and it's too much https://x.com/podviaznikov/status/2067231875068768447

Post reply on HN