Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Rust, Python, and TypeScript: the new trifecta (smallcultfollowing.com)
2 points by vinhnx 4 months ago | hide | past | favorite | 2 comments


I can second this assessment.

We have an interesting problem here, both target Python and TypeScript with our backend/frontend framework, so we need to generate both Python and TS code from a single logic to generate our programming libraries. This creates a lot of trouble, introducing for example Jinja2 templates to be able to auto-generate TS code from our code base, but this means for us, we have to hand-write those templates without typing in the first place and it is a lot of doubled work.

A typed meta language, like Haxe would be great, but unfortunately Haxe does not have real TypeScript support.

There really isn't a good and feasible solution for this.


Why?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: