Good work, now... How much slower was it than Duktape?
Quote from: Rhuan on August 27, 2017, 04:47:18 amGood work, now... How much slower was it than Duktape?I would say it was slower by a factor of about -10x.
Hmm, I see, not sure on the speed point, I guess it depends how much code there is and how frequently a retranspile is needed - is cell with Babel set up to only re-transpile the documents that have changed?Other thoughts:1. Per the Kangax table pure CC actually has higher ES6 compatability than either Babel or Typescript, with only one area it's behind on that being reg.expresion prototypes2. Is the transpiling step even needed with CC?3. For people who like the idea of working typescript can a choice of Babel or Typescript be specified in a cellscript? Without needing many other changes?4. I note that despite point 2 I'm very keen on the idea of cell as I want to write cellscript Tools to package maps and sprites into new formats I'm designing that will be loaded a lot faster than RMP, RSS or Tiled JSON files. (I also want to see if I can make a cellscript tool to strip debug code out of my scripts for release versions)
I'm debating whether to release the CC miniSphere as 4.9 or 5.0. It's a pretty big change that definitely warrants a new major version, it's just that I've promised an API freeze for mS 5.0 and I'm not quite ready to set everything in stone yet.
Quote from: Fat Cerberus on August 27, 2017, 08:28:03 pmI'm debating whether to release the CC miniSphere as 4.9 or 5.0. It's a pretty big change that definitely warrants a new major version, it's just that I've promised an API freeze for mS 5.0 and I'm not quite ready to set everything in stone yet.Which parts of the API are still in flux?
In particular, the shader API needs work.https://github.com/fatcerberus/minisphere/issues/192Not sure what else, I'll have to skim through sphere2-core-api.txt when I get home to jog my memory.
Almost got miniSphere going, it runs games but there are a lot of glitches and in a fully optimized Release build, it actually crashes outright. Not sure what's wrong yet and I don't feel like pulling an all-nighter to figure it out. I'll revisit it later.