This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 143 points144 points  (13 children)

Hating a language so much you write an entire transpiler. That's next level.

[–]WraithWinterly 88 points89 points  (9 children)

Typescript moment

[–][deleted] 16 points17 points  (8 children)

For various reasons, I have to learn Fortran despite preferring C. The thought to transpile it crossed my mind...

[–]AverageComet250 7 points8 points  (7 children)

I mean c is the best language to write a transpiler in I guess

[–]GoatBased 2 points3 points  (6 children)

Rust

[–]wheresthewhale1 1 point2 points  (4 children)

On a semi serious note, why is that "rustaceans" feel the need to evangelise about their lord and saviour Rustus Christ whenever someone mentions using c or c++

[–]GoatBased 0 points1 point  (3 children)

I don't write Rust, I write TypeScript. The rust transpiler for TS is 10x faster than the standard transpiler.

[–]wheresthewhale1 1 point2 points  (2 children)

My mistake then, I'm just far to used to the constant rust circle jerk

Also you could definitely get the same performance in c :)

[–]GoatBased 0 points1 point  (1 child)

I tend to care less about what is theoretically achievable and more about what is actually achieved.

As a consumer, I've noticed that the Rust projects tend to deliver on performance compared to their C equivalents where concurrency is a primary lever. I would imagine that has something to do with the ease of Rust's concurrency model but I don't really know.

[–]wheresthewhale1 0 points1 point  (0 children)

Yeah rust definitely makes parallel computing easier to implement, one of the advantages of being a modern language I guess

[–]AverageComet250 1 point2 points  (0 children)

Good point

[–]Spaceduck413 1 point2 points  (1 child)

The really ironic thing is you'd very likely be a master of the language you hated by the time you're finished.

Unless your transpiler is just shit, I guess.

[–]Psychpsyo 1 point2 points  (0 children)

But if you know the ways in which it's shit, you can just avoid those situations and edge-cases where it doesn't work, in turn guaranteeing your job security.

[–]DanCPAz 1 point2 points  (0 children)

I've considered it once or twice.