Vaaaampire Posted January 31, 2024 Report Posted January 31, 2024 24 minutes ago, dasari4kntr said: what do you mean..? for example...all typescript comiplers generate javascript during node.js run script... can you explain more about dart build process.. JavaScript (js) The js subcommand compiles Dart code to deployable JavaScript. info Note: Use the webdev tool rather than running the Dart-to-JavaScript compiler. The webdev build command, by default, produces minified, deployable JavaScript. The webdev serve command, by default, produces JavaScript modules for running and debugging during development. Quote
dasari4kntr Posted January 31, 2024 Author Report Posted January 31, 2024 4 minutes ago, tollywood_hater said: Not really, initial version of angular developed in dart and later adopted to typescript, flutter was completely has dart support from beginning, there was chromium project that support dart natively..... Google plan was kill js .... initially transpile dart code to js later once all browsers support dart , remove that transpilation but Microsoft killed Google's ambitions with typescript good inside info.. Quote
dasari4kntr Posted January 31, 2024 Author Report Posted January 31, 2024 3 minutes ago, Vaaaampire said: JavaScript (js) The js subcommand compiles Dart code to deployable JavaScript. info Note: Use the webdev tool rather than running the Dart-to-JavaScript compiler. The webdev build command, by default, produces minified, deployable JavaScript. The webdev serve command, by default, produces JavaScript modules for running and debugging during development. i think its still rely on nodejs for compilations… but i will explore more on this … but thanks…you made me curious about this… Quote
Vaaaampire Posted January 31, 2024 Report Posted January 31, 2024 2 minutes ago, dasari4kntr said: i think its still rely on nodejs for compilations… but i will explore more on this … but thanks…you made me curious about this… I dont have working exp on dart bro. Few yrs back komcham explore chesina anthey. afaik dart generates js files which are deployed on browser. So its same as running plane js files Quote
dasari4kntr Posted January 31, 2024 Author Report Posted January 31, 2024 2 minutes ago, Vaaaampire said: I dont have working exp on dart bro. Few yrs back komcham explore chesina anthey. afaik dart generates js files which are deployed on browser. So its same as running plane js files ok.. why i was curious about your comment about..."dart generates the js file sin browser.."...is.. traditionally 20 year back...JS is a language which executes on browser only...and all the script has to be writeen in single file.. later node.js got introduced...it allowed executing the JS on desktop with out browser..and later on it allows you to write JS files in multiple file..etc still browesrs way of executing javascript is same...browsers needs html..and script tag imports to execute javascript.. so thats where i got confused... as @tollywood_hater mentioned..i need to explore how dart and typescript wants to win the war...because at the end who won the browser business ..they are winners in this business... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.