Hacker GitHub

← All repos

microsoft/typescript-go

View on GitHub ↗ ★ 26,109 Go archived

Staging repo for development of native port of TypeScript

52 mentions on Hacker News by 49 people: 3 stories, 49 comments · first 2025-03-11 · latest 2026-10-21

Mentions per year 52 mentions · busiest year 2025 (36)
20082026
  1. …CoPilot contributions on tsgo repo, forgotten which company Typescript development is sponsored by? https://github.com/microsoft/typescript-go/pull/4313
    comment by pjmlp · 2026-10-21 · in Tsrs: A Port of TypeScript to Rust
  2. …speed was on the mind, giving way to ergonomics and ease of porting. At least, this is my read. [1] https://github.com/microsoft/typescript-go/discussions/411
  3. …the checker. Easily recognizable on a function level, even if not being a single file anymore: https://github.com/microsoft/typescript-go/tree/main/interna... https://raw.githubusercontent.com/microsoft/TypeScript/refs/... (The TS file is…
    comment by chmod775 · 2026-07-28 · in How is the Bun rewrite in Rust going?
  4. …chosen was explicitly because it has semantics close to TypeScript and that made it automatable: https://github.com/microsoft/typescript-go/discussions/411#d... > But this wasn't a compiler redesign, and the TypeScript to Go move was far…
    comment by dminik · 2026-07-27 · in How is the Bun rewrite in Rust going?
  5. https://devblogs.microsoft.com/typescript/typescript-native-... https://github.com/microsoft/typescript-go
  6. …good reads: The blog post: https://devblogs.microsoft.com/typescript/typescript-native-... Why Go? https://github.com/microsoft/typescript-go/discussions/411 Why a port instead of a rewrite? https://github.com/microsoft/typescript-go/discus…
    comment by Cthulhu_ · 2026-07-09 · in TypeScript 7
  7. …before AI was able to help Yes, but that doesn't mean it wasn't also "helped" along by AI. See: 1. https://github.com/microsoft/typescript-go/pull/1387 2. https://github.com/microsoft/typescript-go/pull/2978 3.…
    comment by spartanatreyu · 2026-07-08 · in TypeScript 7
  8. …is speculation. The real answer was posted by Ryan Cavanaugh in the official repo over a year a go: https://github.com/microsoft/typescript-go/discussions/411 Why would trust anything else?
    comment by hdjrudni · 2026-07-08 · in Why TypeScript 7.0 Was Rewritten in Go
  9. A quote from the official FAQ - https://github.com/microsoft/typescript-go/discussions/411 : >By far the most important aspect is that we need to keep the new codebase as compatible as possible, both in terms of semantics and in terms of…
    comment by vopi · 2026-04-23 · in TypeScript 7.0 Beta (built on Go)
  10. …least a quarter or maybe 2 quarters away? Also here's a discussion I always like reading: Why Go? https://github.com/microsoft/typescript-go/discussions/411
    comment by h4ch1 · 2026-03-23 · in TypeScript 6.0
  11. …port has most features of 6.0 already and you can follow its progress and read more about it here: https://github.com/microsoft/typescript-go
    comment by djrenren · 2026-03-07 · in TypeScript 6.0 RC
  12. My deepest thanks to one @AlCalzone for stepping up to Opus port Decorators to tsgo. https://github.com/microsoft/typescript-go/pull/2926 It would have been an affront to have a 6.0 that shipped without the means to work for so so many…
    comment by jauntywundrkind · 2026-03-06 · in TypeScript 6.0 RC
  13. …audit` will handle Go-module dependencies. (I opened an issue against typescript-go to flag this https://github.com/microsoft/typescript-go/issues/2825 )
    comment by philipwhiuk · 2026-02-18 · in Fastest Front End Tooling for Humans and AI
  14. …my web projects & the speed is awesome), I don't think I can yet until the API work is clarified: https://github.com/microsoft/typescript-go/discussions/455
  15. https://github.com/microsoft/typescript-go
    comment by DanRosenwasser · 2026-01-11 · in The Performance Revolution in JavaScript Tooling
  16. …processing efficiently isn't related to architecture to you I don't know what to tell you. [0] https://github.com/microsoft/typescript-go/discussions/411 > The cult is in your imagination. CTRL+F "rust" on the Go issue and see how many…
  17. …week (before this regression). So, does not seem to influence the type-checking times here. [1] https://github.com/microsoft/typescript-go/issues/2341 [2] https://github.com/denoland/deno/blob/v2.6.0/cli/tsc/go/tsgo...
    comment by tauchunfall · 2025-12-12 · in Deno 2.6
  18. …Microsoft put resources into rewriting the tyescript compiler in Go to make it faster[1]? [1]: https://github.com/microsoft/typescript-go
  19. Does this image count as significant tribalism in parts of the Rust community? https://github.com/microsoft/typescript-go/discussions/411#d... Taken from the above Github discussion regarding Go and Typescript. https://imgur.com/a/efdIuWb
  20. …and it seemed worse than C++ in some regards. Though I only spent a few hours or so on it. [0]: https://github.com/microsoft/typescript-go/discussions/411#d... [1]: https://lkml.org/lkml/2025/2/6/1292 > Technical patches and discussions…
  21. …we tried that but have a few libraries that depend on SWC which made it a show stopper. [0]: https://github.com/microsoft/typescript-go
  22. …tooling, and even recent TypeScript rewrite to go[2]. [1] https://github.com/evanw/esbuild [2] https://github.com/microsoft/typescript-go
    comment by yanis_t · 2025-07-02 · in Figma files for proposed IPO
  23. Here's the FAQs, where they explain the decision to go with Go and not, say, rust. https://github.com/microsoft/typescript-go/discussions/categ... Hejlsberg also says in this video, about 3.3x performance is from going native and the other…
  24. …from TypeScript to Go, since they are aiming for 1-to-1 compatibility, including bugs and quirks: https://github.com/microsoft/typescript-go
  25. …in go because go is similar enough to typescript, while being faster than typescript. Source: https://github.com/microsoft/typescript-go/discussions/411
  26. …of devs who are zealous (and downright toxic) in their shilling for their favorite language." [1] https://github.com/microsoft/typescript-go/discussions/411#d...
    comment by Ygg2 · 2025-04-09 · in A year of Rust in ClickHouse
  27. https://github.com/microsoft/typescript-go/discussions/411 Some of the worst comments have been scrubbed but they might be in one of the internet archival sites.
    comment by rc00 · 2025-04-06 · in A year of Rust in ClickHouse
  28. I think they answered in their FAQ here: https://github.com/microsoft/typescript-go/discussions/455#d... . If I got it correctly, they created a node native module that allows synchronous communication on standard I/O between external…
    comment by ciarcode · 2025-03-12 · in A 10x Faster TypeScript
  29. …a commit graph which indicates Anders Hejlsberg's heavy involvement with the ongoing port efforts: https://github.com/microsoft/typescript-go/graphs/contributo...
    comment by neonsunset · 2025-03-12 · in A 10x Faster TypeScript
  30. …team members who worked on this port, not Anders Hejlsberg himself, which is my understanding no? https://github.com/microsoft/typescript-go/graphs/contributo...
    comment by magicalist · 2025-03-11 · in A 10x Faster TypeScript
  31. …Lifetimes and ownership are not trivial topics to grasp, and they add overhead (as discussed here: https://github.com/microsoft/typescript-go/discussions/411 ) that not all contributors might grasp immediately.
    comment by muglug · 2025-03-11 · in A 10x Faster TypeScript
  32. …OSS corporate-sponsored projects, so kudos to you and the team for making the pragmatic choice. [1] https://github.com/microsoft/typescript-go/discussions/411#d...
    comment by 16bytes · 2025-03-11 · in Why Go?
  33. Discussion and video link here for anyone else interested: https://github.com/microsoft/typescript-go/discussions/411#d... And lightly edited transcript here: https://github.com/microsoft/typescript-go/discussions/411#d...
    comment by jamescrowley · 2025-03-11 · in A 10x Faster TypeScript
  34. https://github.com/microsoft/typescript-go/discussions/411 There's more reactions here. I think devs have lost the plot, tbh.
    comment by dimgl · 2025-03-11 · in A 10x Faster TypeScript
  35. It seems that they port the code manually, probably with the help of LLMs. https://github.com/microsoft/typescript-go/commits?after=dad...
    comment by maxloh · 2025-03-11 · in A 10x Faster TypeScript
  36. …a path for other TypeScript projects to generate fast native binaries Opened discussion [1] - [0] https://github.com/microsoft/typescript-go/discussions/410 - [1] https://github.com/microsoft/typescript-go/discussions/467
    comment by haxiomic · 2025-03-11 · in A 10x Faster TypeScript
  37. See this comment on the chain: https://github.com/microsoft/typescript-go/discussions/411#d... (and the comment that spawned it, which is essentially the same as yours but with some more specifics)
    comment by interroboink · 2025-03-11 · in Why Go?
  38. Also explained in the FAQ: https://github.com/microsoft/typescript-go/discussions/411
    comment by whazor · 2025-03-11 · in A 10x Faster TypeScript
  39. …that is more of a different backend rather than a different compiler. Edit: C# was addressed: https://github.com/microsoft/typescript-go/discussions/411#d...
    comment by trashface · 2025-03-11 · in A 10x Faster TypeScript
  40. Anders explained his reasoning in this interview (transcript): https://github.com/microsoft/typescript-go/discussions/411#d...
    comment by ayewo · 2025-03-11 · in A 10x Faster TypeScript
  41. …make very small binaries in C# if you want to . But, the team posted their rationale for Go here: https://github.com/microsoft/typescript-go/discussions/411
    comment by gwbas1c · 2025-03-11 · in A 10x Faster TypeScript
  42. …a lot of similar semantics to Typescript, it was easier to port to Go than other languages. From https://github.com/microsoft/typescript-go/discussions/411 > Idiomatic Go strongly resembles the existing coding patterns of the TypeScript…
    comment by gwbas1c · 2025-03-11 · in A 10x Faster TypeScript
  43. …pulling that out of thin air. It's not supported by the article in any way. There is discussion at https://github.com/microsoft/typescript-go/discussions/411 that mentions different points.
    comment by noelwelsh · 2025-03-11 · in A 10x Faster TypeScript
  44. There’s also an FAQ discussion about the language choice: https://github.com/microsoft/typescript-go/discussions/411
    comment by thorum · 2025-03-11 · in A 10x Faster TypeScript
  45. …what the API looks like. We're currently giving a lot of thought to that, but we have good ideas. https://github.com/microsoft/typescript-go/discussions/455
    comment by DanRosenwasser · 2025-03-11 · in A 10x Faster TypeScript
  46. Not involved, but there's a faq in their repo, and this answers your question, perhaps, a bit: https://github.com/microsoft/typescript-go/discussions/411
    comment by tgv · 2025-03-11 · in A 10x Faster TypeScript
  47. …we have actually written up an FAQ entry on our GitHub Discussions. I'll post the response below. https://github.com/microsoft/typescript-go/discussions/411 . ____ Language choice is always a hot topic! We extensively evaluated many…
    comment by DanRosenwasser · 2025-03-11 · in A 10x Faster TypeScript
  48. …here is very important. [Edit: the real reason is in the FAQ posted in a bunch of other comments https://github.com/microsoft/typescript-go/discussions/411 ]
    comment by jasonthorsness · 2025-03-11 · in A 10x Faster TypeScript
  49. …coding patterns of the TypeScript codebase, which makes this porting effort much more tractable. -- https://github.com/microsoft/typescript-go/discussions/411 I haven't looked at the tsc codebase. I do currently use Golang at my job and…
    comment by grantwu · 2025-03-11 · in A 10x Faster TypeScript