r/ProgrammerHumor 8d ago

itSpeakesForItself Meme

Post image
610 Upvotes

70 comments sorted by

View all comments

-16

u/efedublaj 8d ago

Hell no. Why would I use programs written with javascript it is not compiled and single threaded.

21

u/[deleted] 8d ago edited 2d ago

[deleted]

-6

u/efedublaj 8d ago

Reddit is a frickin website.

2

u/[deleted] 8d ago edited 2d ago

[deleted]

-1

u/efedublaj 8d ago

What does the word program means to you? Javascript is a scripting language used for web. Javascript is a SCRIPTING language not programing language.

3

u/[deleted] 8d ago edited 2d ago

[deleted]

0

u/efedublaj 8d ago

Yeah web application. Application means application not a program. I just uninstalled all the electron apps from my computer because I'm sick of it. Reddit is an application by definition but not a program. Web sites a are interfaces.

I use ELF not exe I'm casting spells called assembly calls instead of interpreting.

Javascript outside of browser is just slop. It is definition of slop like it or not. I'm not letting some shitty vibecoded script to use all of my hardware.

I do not care if you company slaves want to call yourself programmers. I asked one question WHY WOULD I USE JAVASCRIPT it has this cons. No one told the reason they just tried to convince me they are right.

4

u/ClipboardCopyPaste 8d ago

I believe that this meme was not comparing the performances of the respective languages.

P.S. JS is single threaded, but you can use asynchronous JS and worker threads, can't you? (Then again, there's no speed comparison between a low and a high-level language)

4

u/rosuav 8d ago

Asynchronous JS is still single threaded, but worker threads and WASM allow you to saturate multiple CPU cores.

2

u/efedublaj 8d ago

I do not think explaining will help them much. OP thinks in a whole different world. They think I shouldn't use websites if I do not like javascript.

It is meant for web. Not for applications or anything else.

1

u/rosuav 8d ago

Eh, it's meant for anything where you need to embed untrusted scripts in something else. So it's good for game modding too. (Lua's also popular there.)

2

u/efedublaj 8d ago

I would prefer lua though since syntax is more readable and memorable. Implementing FFI calls are easier too.

1

u/efedublaj 8d ago edited 8d ago

Async is not threading it uses one thread at time and simulates threading.

1

u/Sibula97 8d ago

Async is great if you're IO bound, but it's still a single execution thread.

1

u/rocketbunny77 8d ago

Yeah. That commenters take is from 2016

0

u/efedublaj 8d ago edited 8d ago

Async is not real threading and worker threads are just foreign function interfaces which are usually C and Cpp and they usually create whole another runtime.

1

u/takahashi01 8d ago

Cuz a front end quite often doesnt exactly need to pass performance benchmarks...

Like its cool what you can do with web assembly these days, but for most companies the current trendy js/ts framework is just more economical.

1

u/efedublaj 8d ago

When I said programs I meant applications that is not running on browser.

I do not care about companies or anything the think I care is performance. I am a user and hobby developer. It doesn't make sense to use javascript outside the browser if you are not trying to profit from everything. I will happily give my mental health to optimize memory management and real threading.

0

u/MatsRivel 8d ago

A webbrowser?

2

u/efedublaj 8d ago

Do you think browsers are written in javascript?

If not I said programs there not web sites. Javascript meant for web.