Jump to content

we should stop using javascript...


dasari4kntr

Recommended Posts

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.

Link to comment
Share on other sites

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..

Link to comment
Share on other sites

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…

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...