How Fast is NodeBox? How Fast Could it Be?

john's Avatar

john

15 Mar, 2017 05:50 AM

A philosophical question...

Comparing the performance of one language to another is tricky since it's always apples to oranges. Things easy in one language are hard in another. NodeBox does some things with ease that are almost impossible in other languages.

But I don't think of it as being dazzlingly fast. It seems slower in general than other languages I've worked with, even browser-based scripting languages like processing.js. It certainly bogs down when dealing with larger projects.

Is that because, by its very nature, NodeBox could never compete with, say, Javascript? Or is it because our implementation of NodeBox was never optimized for maximum performance? If the latter, how much faster could it be?

I am not an expert in these matters, but it seems to me that, as a functional language, NodeBox has the potential to be much faster for many problems than imperative languages. I would think that imperative languages would be harder to compile into true multi-threaded code that could leverage multiple CPUs. NodeBox, by its nature, should allow more parallelism. Is this a hardware limitation of current (2017) desktop/laptop computers? Could NodeBox set records if it ran on custom hardware?

I am really out of my depth here, which is why I am asking.

Thoughts?

John

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

30 Nov, 2023 08:38 PM
29 Nov, 2023 01:33 PM
29 Nov, 2023 05:30 AM
28 Nov, 2023 10:03 PM
28 Nov, 2023 12:38 AM

 

27 Nov, 2023 04:40 AM
26 Nov, 2023 10:02 AM
22 Nov, 2023 09:33 AM
20 Nov, 2023 08:54 PM
17 Nov, 2023 01:43 AM
15 Nov, 2023 06:58 AM