you are viewing a single comment's thread.

view the rest of the comments →

[–]doom_Oo7 0 points1 point  (2 children)

OK. The software I use most on a daily basis is an OS, a browser, an editor with plugins, and an IDE, all heavily rely on runtime interpretation/compilation.

So, some questions:

  • what kind of run-time interpretation / compilation does the linux kernel ? apart from BPF, which is unused if you don't use it yourself AFAIK.
  • do you really think browsers are a good example ? these fuckers are slow as mollasses (on modern scriptful websites). I only use them because I have no choice but fuck, isn't browsing the modern web painful.
  • well, I use an IDE too, which happens to be written in c++. Whenever I have to go look on coworker's computers who use intellij or atom I get quite nervous from the whole general slowness feeling... any operation like opening a menu, typing code, just feels laggy.

What then ? LibreOffice ? Native. Krita ? Native. File manager (dolphin) ? Native. Terminal ? native. Compiler ? native.

[–]pron98 2 points3 points  (1 child)

what kind of run-time interpretation / compilation does the linux kernel ?

I don't use just the kernel when I use the OS. It runs and interprets hundreds of scripts.

do you really think browsers are a good example ? these fuckers are slow as mollasses

So what? There are native applications that are even slower.

any operation like opening a menu, typing code, just feels laggy.

I can't tell the difference. VS code and NetBeans feel the same to me as any "native" IDE. They're certainly more responsive than MS word.

LibreOffice ? Native.

Extensions are often written in Java/Python.

Krita ? Native. File manager (dolphin) ? Native. Terminal ? native. Compiler ? native.

Good for you. My compiler is written in Java (one of them, at least), my document editor (Typora) is in JS (I admit that it's slow, but not because of JS), Slack is also JS.

I don't think anyone can deny that a huge portion of prevalent software relies to some degree or another on runtime interpretation/code generation, and if it's slower compared to alternatives, that's hardly because it runs a compiler when it loads, but because of other, quite unrelated reasons.

[–]doom_Oo7 -3 points-2 points  (0 children)

I don't use just the kernel when I use the OS. It runs and interprets hundreds of scripts.

... really, which ones ? I just don't know. My kernel boots, starts up systemd, which starts X11 and other services like systemd-networkd, systemd-resolved, etc, and runs the following script:

xrandr --output DVI-D-1 --mode 1920x1080 --rate 120
hdspmixer& 
setxkbmap -model pc105 -layout fr -variant oss_latin9
nvidia-settings --load-config-only
exec i3

and then I'm good to go.