Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jeswin
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
91.
▲
by
jeswin
8mo ago
How did you objectively decide it's a bad model?
92.
▲
by
jeswin
9mo ago
> Was this post written with AI? Why should we care if it's not difficult to read? What is your complaint?
93.
▲
by
jeswin
9mo ago
Very interesting. I made a similar project called tsonic [1] which compiles TS to C# and then uses NativeAOT to compile it down to native code. We'd have faced similar issues, and I'm curious how you solved it. From your examples
94.
▲
by
jeswin
9mo ago
What explains the silence from activists outside Iran on this particular issue? I see relatively limited coverage on global media. Iranians seem to be fighting this alone, and dying by the thousands. Perhaps we know, but the reasons will be
95.
▲
by
jeswin
9mo ago
The same thing is true with Sqlite vs Postgres. Most startups need Sqlite, not Postgres. Many queries run an order of magnitude faster. Not only is it better for your users, it's life changing to see the test suites (which would take m
96.
▲
by
jeswin
9mo ago
I am the one who disputed the claim and later deleted - I was conflicted between keeping HN largely free of political reddittery (and chose to downvote instead), and fact-checking. > The current prime minister of India once announced tha
97.
▲
by
jeswin
9mo ago
Personally I think hard plastic (like on ThinkPads) is more resistant to damage than metal cases. Also, the textured surface is less slippery. And - ThinkPad repair (especially old models) is usually cheaper because businesses by so many of
98.
▲
by
jeswin
9mo ago
I've been a ThinkPad user forever, and I wouldn't buy another one if they "upgraded" to metal like everyone else. If I were to guess, most serious ThinkPad users would want the current shell, the dated appearance, and th
99.
▲
by
jeswin
9mo ago
At the moment, we have to use Microsoft's debugger on the generated code. I have it as a todo - but I don't think I'll get to it soon.
100.
▲
by
jeswin
9mo ago
Thanks. I've just improved it, but still more to do. Will look at it this week.
101.
▲
by
jeswin
9mo ago
Wow, I never came across it - thank you. There are key differences though. What tsonic offers: (0) broad data type support, stack allocated types etc (1) nodejs and js compatibility libs, (2) the availability (in tsonic) of the entire .Net
102.
▲
by
jeswin
9mo ago
Well, there are some additions - thought it can be compiled via tsc into js that would never run. This is still useful though for IDE and tooling support, language servers etc. The most important thing is that you have these types you can i
103.
▲
by
jeswin
9mo ago
Hi dang, done. Thank you! Your feedback on the other thread was very helpful - just the right thing to add, irrespective of HN visibility.
104.
▲
by
jeswin
9mo ago
I did a Show HN for a language called Tsonic yesterday, which is a variant of TypeScript (all tsonic is valid typescript) requiring stronger typing which compiles to x64/ARM native code via .Net/NativeAOT. https://news
105.
▲
Show HN: The Tsonic Programming Language
(tsonic.org)
62 points
by
jeswin
9mo ago
|
9 comments
106.
▲
by
jeswin
9mo ago
Well ... I was going to do a Show HN. Can you edit the title? :) @todsacerdoti
107.
▲
by
jeswin
9mo ago
Actually TypeScript is an excellent language (in my view) for targeting native code. It reads cleaner than Java, C# and even golang in many cases - at least to me. For example, JS/TS's file-path based imports are more intuitive; s
108.
▲
by
jeswin
9mo ago
Yes performance is a big issue, and so is security (or the lack of it). I'm attacking this from another angle: https://github.com/tsoniclang/tsonic Write TypeScript, compile to native code via CLR's NativeAOT
109.
▲
by
jeswin
9mo ago
I have a GM1, it's truly a standout camera. GM5 makes it even better. It's quite funny nobody wants to attempt similar sizes, even when the market has voted for pocketable cameras. Especially OM - with all their troubles, if it we
110.
▲
by
jeswin
9mo ago
> Is a really weird way to say that you built a native compiler for typescript. Well, the Typescript team is rewriting their compiler (landing in v7) in go, and some ppl call it the native compiler. I think my statement is clearer? But t
111.
▲
by
jeswin
9mo ago
I spent ~$1500 (and a bit more than two months) building a compiler that translates typescript to native binaries. I think I'll be able to do a Show HN later this month. It's the best $1500 I've ever spent on anything related
112.
▲
by
jeswin
9mo ago
> that the company who helped champion the network effects of the internet and surface truly useful search results... The amount of data on the web crossed the threshold of organic discoverability some time before the AI boom started. AI
113.
▲
by
jeswin
10mo ago
> Rust-level performance > JS → Rust compilation pipeline There's a JS to Rust transpiler? How? If this is true, this is the most impressive part. The web server/framework almost irrelevant. The AI generated documentation is
114.
▲
by
jeswin
10mo ago
> For one thing, the threat model assumes customers can build their own tools. That's not the threat model. The threat model is that they won't have to - at some point which may not be right now. End users want to get their wor
115.
▲
by
jeswin
10mo ago
I'm building a TypeScript to native code compiler, via the Dotnet CLR toolchain and Native AOT. This lets you use the excellent Dotnet std library - which in addition to being faster is also much safer than the npm ecosystem. There
116.
▲
by
jeswin
10mo ago
It's ok now, at least for me. There are still challenges around theming and styling because of styling boundaries (which makes Web Components powerful, but still). A part of it is about tooling, which can be easier to improve. Try my t
117.
▲
by
jeswin
10mo ago
True. But willing to cut anyone under 21 some slack.
118.
▲
by
jeswin
10mo ago
There are several countries which use a single ID for all government interfacing. For that matter, Aadhaar is almost there already. I am not suggesting that private companies should use it, or should be allowed to use it. But a single ID w
119.
▲
by
jeswin
10mo ago
These are neither simple, nor easily doable. But the bigger problem is cost (time and money). My point was that India should switch to a single card/id for everything, and get rid of everything else including the PAN card. Eventually m
120.
▲
by
jeswin
10mo ago
I may have yielded, but that happened with the acknowledgement that it's not entirely a bad thing. Other IDs have varying levels of validity and authenticity; today I am of the opinion that countries like India shouldn't waste mon
More ›