News for hackers. Stuff that matters.
Re:CityBound – An open source city simulation game in Rust by XCSme on Friday April 05, 2019 @04:46PM (#19586860)
Great initiative, very cool that it is open source. In my opinion the source code is not that good structured, especially the front-end side, very hard to maintain. TypeScript should have been a must.
Re:CityBound – An open source city simulation game in Rust by theanzelm on Friday April 05, 2019 @04:54PM (#19586945)
You're right. I want to switch to TypeScript in the front end, I use it in most other projects where I can. What would be amazing is if I could generate TypeScript defs from Rust types for type safe interop.
Re:CityBound – An open source city simulation game in Rust by adamnemecek on Saturday April 06, 2019 @11:48AM (#19591315)
This should be doable with macros no?
Re:CityBound – An open source city simulation game in Rust by theanzelm on Saturday April 06, 2019 @11:51AM (#19591334)
Indeed!
Re:CityBound – An open source city simulation game in Rust by jdormit on Friday April 05, 2019 @05:46PM (#19587359)
That would be so cool!
Re:CityBound – An open source city simulation game in Rust by alanpetrel on Saturday April 06, 2019 @03:31PM (#19592556)
Care to elaborate? Other than type safety I fail to see how TypeScript would improve the structure.