DEV Community

Cover image for Deno - An Unfinished Beauty

Deno - An Unfinished Beauty

EmNudge on October 26, 2020

2022 Update: My concerns around immaturity have long since been addressed since the 1.0 release. While issues around arm32 builds might...
Collapse
 
ivan_jrmc profile image
Ivan Jeremic • Edited

Every programming language is a Runtime, Python, JAVA, C#, and so on, so basically, everyone calling Node a JS runtime is right but it is also unnecessary, Theoretically, you can call Node a programming language because this is exactly how other languages are built, They are a Box/Program where they run.

Collapse
 
hamidb80 profile image
Hamid Bluri

Whaaat

What do you mean by "Runtime" exactly?

Java is not a Runtime!

Collapse
 
ivan_jrmc profile image
Ivan Jeremic

Java is a runtime language it runs on a runtime.

Thread Thread
 
hamidb80 profile image
Hamid Bluri

Java compiler compiles .java code to "java byte code"

Then JVM runs that byte codes.

Thread Thread
 
ivan_jrmc profile image
Ivan Jeremic

Yes thats what I said, Java is a runtime language.

Collapse
 
alexanderjanke profile image
Alex Janke

I haven't dabbled with Deno at all so far but I'm curious as to how people would tackle the missing script-section of the package.json.

For example I have a script:

"scripts": {
   "coverage": "test script here",
   "postcoverage": "do stuff after coverage is done",
Enter fullscreen mode Exit fullscreen mode

Like you described we probably could setup some .sh or other centralized collection of scripts but ... aren't we just rebuilding the package.json at this point?
Without any of those you probably end up noting all your possible scripts somewhere in your readme so other devs know what to execute? Sounds iffy. Am I missing the obvious solution to this problem?

Also, how would a typical CI like GitHub actions work out? Let's say we have a GitHub action running whenever someone wants to merge into our master-branch. What does the github action execute? The .sh? I'm really open for new things but I just don't see any gain from this :|

Collapse
 
sno2 profile image
Carter Snook

Work for a DOMParser that will be integrated into Deno going on at github.com/b-fuze/deno-dom if anyone wants to contribute.

Collapse
 
emnudge profile image
EmNudge

I actually linked it at the end! I’m familiar with the project and its contributors personally. I used it for a project of mine and I’m very happy it exists. It’s been making steady progress for a while now.

Collapse
 
sno2 profile image
Carter Snook

Ah, sorry. My eyes must've glazed over the difference in color. I even re-read the end twice searching for the link😂

Thread Thread
 
emnudge profile image
EmNudge

Haha, not a problem! I didn't write anything to make you think it was different than the link previously in the article.

Collapse
 
swyx profile image
swyx

haha I enjoyed the part where package.json is effectively replaced by exports.ts! not trolling just mildly amused