[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Moving asm.js interpreter to the kernel

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 195
Thread images: 54

File: Unsorted:V 32.jpg (229KB, 1920x1080px) Image search: [Google]
Unsorted:V 32.jpg
229KB, 1920x1080px
now that multiple c to j.asm compilers exist, and of course any language really can do this. why not just move a javascript interpreter into the kernel and forget native code entirely

it's the most popular language with the most powerful modern oop opensource codebase.

portability would be solved forever and we can really do what we've been flirting with for years now, this is obviously what we need

browsers are the portal to 90% of average users programs, this can finally end this and make the computing world make sense.

Q1. Won't this be way slower than C or something?
WRONG! asm.js is approaching C speeds even with little investment being done so far, infact C compiled into asm.js is actually faster than Clang compiled code for box2d game engine.
Source: https://hacks.mozilla.org/2013/12/gap-between-asm-js-and-native-performance-gets-even-narrower-with-float32-optimizations/

Q2. what about vm overhead! it can never truly be as fast!
WRONG!. Infact according to a study by Microsoft a shift to virtual memory protection instead of hardware based irq we can increase speed by 25 - 40%
using a conservative 80-90% vm overhead we can actually gain a modest speed increase with our new kernal j.asm interpreter
source: http://research.cs.wisc.edu/areas/os/Seminar/schedules/papers/Deconstructing_Process_Isolation_final.pdf

Q3. Won't this be insecure!
WRONG! how often does javascript break out of sandbox today? Anyway. libcurl is written in one of the most insecure and outadted languates ever C, with no garbage collection and shitty manual memory management its practically a joke in the security world; yet libcurl is constantly and exhaustively searched for issues and therefore remains relevant even now
source: https://daniel.haxx.se/blog/2017/03/27/curl-is-c/

so /g/, is it time to dump native code and move everything to the worlds most popular language?
I say yes
>>
C combined with JS is worst possible thing I can think of.
Joseph Mengele would be like 'Damn son even I wouldn't go that far'
>>
File: Unsorted:V 44.jpg (54KB, 850x478px) Image search: [Google]
Unsorted:V 44.jpg
54KB, 850x478px
>>59747401
not an argument
>>
File: 1491299393945.jpg (226KB, 1329x1500px) Image search: [Google]
1491299393945.jpg
226KB, 1329x1500px
is this the new Marie thread
>>
>>59747411
yes
>>
File: 1491009492885.png (2MB, 1080x1920px) Image search: [Google]
1491009492885.png
2MB, 1080x1920px
>>59747421
nice
>>
uhhh /g/ ur supposed to reply to this thread
>>
File: 1490632858066.png (2MB, 1080x1920px) Image search: [Google]
1490632858066.png
2MB, 1080x1920px
which gpu will get me the best fps in Marie rose simulator
>>
>this thread again
>>
File: 1490956543955.png (3MB, 1920x1080px) Image search: [Google]
1490956543955.png
3MB, 1920x1080px
>>59747479
not an argument
>>
>>59747479
"You want to be put down like a 1st uni bitch again, then remake the thread and see how smart you aren't, you fucking pleb"

hit me with your best shot kid
>>
File: Unsorted:V 35.jpg (324KB, 1600x900px) Image search: [Google]
Unsorted:V 35.jpg
324KB, 1600x900px
oh I know why no ones replying
its because they're all too busy reading my sources :thinking:
>>
File: 1479047010797.jpg (253KB, 931x1000px) Image search: [Google]
1479047010797.jpg
253KB, 931x1000px
Fat chance of that happening now that WebAssembly is a thing.

Face the truth: asm.js is doomed.

Also, js is single threaded, so you're shit out of luck if you want multithreading, which is pretty much a requirement for a kernel.
>>
File: ;).jpg (116KB, 850x755px) Image search: [Google]
;).jpg
116KB, 850x755px
I'd compile my compressed javascript bytecode into her unsecured kernal if you catch my drift ;) ;)
>>
File: Unsorted:V 24.jpg (178KB, 1280x720px) Image search: [Google]
Unsorted:V 24.jpg
178KB, 1280x720px
>>59747537
WRONG
https://bugzilla.mozilla.org/show_bug.cgi?id=933001


haha
>>
File: 1481064628977.jpeg.jpg (149KB, 1135x1080px) Image search: [Google]
1481064628977.jpeg.jpg
149KB, 1135x1080px
>>59747556
delet this right now
>>
>>59747558
>>59747537
"SharedArrayBuffer is a component in an experiment to support multithreaded codebases using pthreads in Emscripten. The buffer functions nearly identically to an ArrayBuffer"

btfo
>>
File: 1487408022378.jpg (29KB, 360x240px) Image search: [Google]
1487408022378.jpg
29KB, 360x240px
>>59747573
>>59747558
That's neat, but is it standard? Hell, even asm.js isn't properly standardized like JS or wasm. That pretty much defeats the whole appeal of it being JS.

What problem are you even trying to solve with this?
>>
>>59747654
when the most popular language on earth with the largest codebase becomes standard cross platform then there are obvious advantages
>>
>>59747654
the problem of not even being able to mention a creative idea without /g/ calling you a retard because they think literally everything they read on /g/ is 100% fact and that real life is memes
>>
>>59747658
>>59747654
this
>>
File: 1476324034872.png (509KB, 768x576px) Image search: [Google]
1476324034872.png
509KB, 768x576px
>>59747377
Didn't we have this thread yesterday?
>>
>>59747556
>>59747558
>>59747565

animetard get back to your containment boards now
>>
>>59747675
we're going tohave this thread every single day until someone disproves me or linux and osx replace their kernels with javsascript
>>
File: 1491012518778.webm (1MB, 732x720px) Image search: [Google]
1491012518778.webm
1MB, 732x720px
theirs nothing wrong with the macOS colonel ty
>>
>>59747657
>>59747658
>>59747674
>6 unique posters before
>6 unique posters after
Nice

>>59747682
Maybe if you stopped samefagging on a mongolian story quilt website, and actually built this thing, people would care. I fucking love JS, and would love to see that get built, but unless it's either built or would solve real problems for me, I honestly don't give a shit and will happily poke holes in your idea all day.
>>
File: Capture.png (15KB, 298x268px) Image search: [Google]
Capture.png
15KB, 298x268px
>>59747710
your dumb, dont reply to me
>>
File: Unsorted:V 23.jpg (164KB, 1124x1080px) Image search: [Google]
Unsorted:V 23.jpg
164KB, 1124x1080px
>>59747710
>will happily poke holes in your idea all day

go on then lol
>>
>>59747537
>js is single threaded
uninformed tard
>>
>>59747734
Prove me wrong with a standard js feature. People have shoehorned it in, but it's not in the language standard.

Get your shit straight
>>
>>59747746
obviously they would use the already developed base to add multithreading to the kernel version of javascript
>>
>>59747746
>"""""""""""standard feature""""
>on a language that's evolved over decades
>just like how C++ and others get language updates and has for decades

Yeah, this really shows what an ignorant fool you really are. Not responding to you anymore. I pointed out how stupid you are, and there's nothing else worth saying.

Lmao. Imagine not being able to do proper functional programming in C++ after people finally realized that making everything a class was a fucking mistake.
>>
>why not just move a javascript interpreter into the kernel and forget native code entirely

I don't think you've written a kernel, or any kernel-level code, before. If you did, you'd recognize why this isn't feasible. JavaScript doesn't have the right semantics to do what a Kernel needs. JavaScript does not have the semantics to represent "write this value to this physical address". It does not have the semantics to inline assembly where necessary either. Beyond this, it does not have a real integer type. All of JavaScript's numbers are double precision floating point, although the V8 engine can handle some operations using native 32-bit floating point numbers. But most consumer CPUs these days have 64-bit instruction sets, so you have to operate on 64-bit pointers. How do you expect to manipulate a 64-bit integer value in a language that cannot operate on 64-bit integers?

You're not asking the right questions here. You keep thinking about performance. Sure, performance is important in a kernel. In fact, you should expect that every single cycle counts, because this is the son of a bitch that has to handle your I/O operations, and you don't want your read or write operation to take any longer than it needs to. But before you can even begin to address questions of performance, you should ask yourself: can my language talk to the hardware in the ways I need it to? The answer, of course, is no. Anything you build here is going to be a hack relying on a lot of assembly and/or C code that your JavaScript code is going to be talking to. At this point, you might as well just use C. Or C++. Or Rust. Even Ada is fine. Use something that was designed for this. Don't try and cut a piece of paper in half with a ball peen hammer.

>so /g/, is it time to dump native code and move everything to the worlds most popular language?

You literally cannot drop all native code. Even the so called "Java OS" I sometimes see dropped into these sorts of discussions relies on assembly.
>>
>>59747757
>obviously
>they
Who the fuck is they? Which multithreading implementation are they going to use?
>>
File: Unsorted:V 4.png (2MB, 1080x1920px) Image search: [Google]
Unsorted:V 4.png
2MB, 1080x1920px
>>59747784
wtf
>>
>>59747784
haha I didn't read a single word of this
>>
>>59747799

Go take a class on kernel programming. Write an actual kernel, or at least something kernel related, like a driver, or a CPU/IO scheduler or something. Really, just learn what the fuck a kernel does.

Then go look at the specifications for ECMAScript, and tell me if this language is in any way practical for the tasks associated with a kernel.

And when you finally reach enlightenment, you can kindly fuck off with your delusional ideals of running JavaScript in ring 0.
>>
File: combined-chart-a.png (35KB, 665x443px) Image search: [Google]
combined-chart-a.png
35KB, 665x443px
JavaScript isn't even the most popular language
>>
>>59747784
Finally someone with a fucking brain.

Sucks that your post will get ignored because you're a tripfag and tl;dr. You're 100% right though.
>>
>>59747839
didn't read this one either
>>
File: Unsorted:V 49.jpg (137KB, 731x1280px) Image search: [Google]
Unsorted:V 49.jpg
137KB, 731x1280px
>>59747839
>>59747784

what about inline assembly in js though
even dynamical generated

sorry you wrote all that out only to be outdone by an anime girl once again

haha
>>
Have you started building this yet? I think it sounds cool.
>>
Who care about the topic. Post more Marie OP
>>
File: Unsorted:V 48.jpg (64KB, 850x730px) Image search: [Google]
Unsorted:V 48.jpg
64KB, 850x730px
bump
>>
>what about inline assembly in js though
JavaScript does not support inline assembly. It is not a language feature. You cannot write inline assembly in JavaScript, and have it executed by a compliant interpreter. And even if you could, the shortcomings of JavaScript for the purposes of writing kernels are so great that your program would consist of more inline assembly than actual JavaScript code. You would fail to achieve the portability that you desire.

Fuck's sake, if you want to start proposing a new language for kernel development, you should at least recommend a language actually suited for the task. Rust does the job just well. For fuck's sake, just look at this beautiful son of a bitch:

https://github.com/redox-os/

The kernel is written in Rust, the coreutils are written in Rust, the shell and graphical user interface are written in Rust. There's a little assembly for the bootloader (you really can't get around this), but pretty much everything else is Rust. The only C here is for a GCC and libc port, for those who might want to write Redox OS applications in C.
>>
File: Unsorted:V 34.jpg (254KB, 1920x1080px) Image search: [Google]
Unsorted:V 34.jpg
254KB, 1920x1080px
>>59747947
please quote my psots when you reply to people otherwise i cant tell who ur talking to
>>
>>59747963

Forgot.
>>
File: Unsorted:V 50.jpg (69KB, 850x589px) Image search: [Google]
Unsorted:V 50.jpg
69KB, 850x589px
>>59747997
>>59747947
the kernel could be written in c and run a ring 0 JavaScript interpreter as is here:

http://runtimejs.org/
>>
File: 1491365140087.jpg (975KB, 1920x1080px) Image search: [Google]
1491365140087.jpg
975KB, 1920x1080px
all processes are run in ring 0 and safety insured by vm just as I prophesied
>>
File: Unsorted:V 9.png (2MB, 1920x1080px) Image search: [Google]
Unsorted:V 9.png
2MB, 1920x1080px
http://bellard.org/jslinux/


how come anime girls are always right
>>
I came in here for the Marie.
I left because of Javascript in the kernel.
>>
>>59747377
Because js is garbage
>>
File: Unsorted:V 20.png (1MB, 1920x1080px) Image search: [Google]
Unsorted:V 20.png
1MB, 1920x1080px
>>59748179
not an argument
inb4 some dumb post about dynamic typing
>>
>>59748188
Dynamic typing is fucking garbage and useless.
>>
File: Unsorted:V 6.png (2MB, 1920x1080px) Image search: [Google]
Unsorted:V 6.png
2MB, 1920x1080px
>>59747947
>>59747997
>>59747839
>>59747784
the whole pointof this thread was to condescend to the retarded morons who post on /g/, but you've obviously proven that you're superior

so you dont have to reply anymore, sorry for making you type so much. you win.

everyone else is still retarded though

>>59748226
lol
>>
>>59748188
>inb4
That's not an argument
Have fun with all the kernel crashes because of the runtime errors you couldn't catch
>>
>>59748239
haha
>>
your hunger for cock is slipping out, anon
>>
>>59748241
Not an argument
>>
>>59748015
>ring 0 JavaScript interpreter
[Sound of CIA and NSA hands rubbing together intensifies]
>>
File: Unsorted:V 8.png (3MB, 1080x1920px) Image search: [Google]
Unsorted:V 8.png
3MB, 1080x1920px
>>59748249
https://en.wikipedia.org/wiki/Undefined_behavior

>The behavior of some programming languages - most famously C and C++ - is undefined in some cases.

hmmmm
>>
>>59748232
Just fuck off and kill yourself already.
Your stupid idea is retarded and uninformed.
>>
>>59748293
Okay?
>>
>>59748301
tell me why in your own words
>>
>>59748293
Yet C, C++, and especially Rust still manage to catch many more errors at compile time than Javascript can.
>>
>>59748307
c and c++ are litteraly famous for undefined behaviours yet you meme javascript as being bad 'because dynamic typing'
>>
>>59748309
Didn't you read anything Ruby said? As a kernel programmer I can confirm that he is 100% fucking correct.
Oh that's right, you didn't read any of it, you just "tl;dr lol"'d through all of it.
Kill yourself.
>>
File: Unsorted:V 42.jpg (91KB, 850x1328px) Image search: [Google]
Unsorted:V 42.jpg
91KB, 850x1328px
>>59748333
you cant just piggy back off of the one intelligent poster in this thread and excpect me to respect you lol

*beats u up
>>
File: 1478724958661.png (5KB, 270x175px) Image search: [Google]
1478724958661.png
5KB, 270x175px
>>59748317
I also don't understand why you'd think js would bring any kind of improvement
>>
>>59748344
Why do you conveniently ignore it though?
He's right. So fuck off and delete your thread already.
>>
>>59748349
>that image
how is that even acceptable?
>>
File: Unsorted:V 46.jpg (66KB, 960x540px) Image search: [Google]
Unsorted:V 46.jpg
66KB, 960x540px
>>59748349
1. true absoulute super portability between all operation systems

2. harnessing the pwoer of 10 billion pajeets because javascript is the worlds most popular language with the most development attention

3. pissing off manchildren on /g/

>>59748356
you're too retarded to astertain if he is right or not, so you dont count
>>
Avatarfagging is against the rules.
>>
>>59748371
it's not avatar use if more than one person itt are posted marie rose which the moderators can confirm
>>
>>59748376
Why are you so autistic?
>>
>>59748370
>true absoulute super portability between all operation systems
That's not exclusive to js, mind as well just use Java then. At least it won't do the dumb shit you see in my picture
Your other two answers aren't actual arguments
>>
>>59748015

Or you could write the kernel in C, and let JavaScript stay in ring 3, with the rest of the user-land applications.
>>
File: Unsorted:V 19.jpg (210KB, 1280x720px) Image search: [Google]
Unsorted:V 19.jpg
210KB, 1280x720px
>>59748430
we're moving it to ring 0 for 30% speed increase
>>
>>59747536
tumblr/erp tier retard
>>
>>59748464
not an argument
>>
>>59748442

Running in ring 0 doesn't improve speed at all. All it does is allow it to execute privileged instructions. It is exclusively for the kernel to do things like swapping out page table entries or talking to the hard disk.
>>
>>59748496
http://research.cs.wisc.edu/areas/os/Seminar/schedules/papers/Deconstructing_Process_Isolation_final.pdf

wrongo bongo
>>
>>59748513
Did you even read the paper? It doesn't prove what he said wrong at all
>>
File: Unsorted:V 41.jpg (55KB, 1024x532px) Image search: [Google]
Unsorted:V 41.jpg
55KB, 1024x532px
>>59748552
"hardware based isolation incurs non-trivial performance costs up to 25-33% and complicates system implementation"

>>59748496
this thread is for retards only please stop replying
>>
I want to FUCK Marie Rose !
>>
>>59748566
What does that have to do with the role of ring 0 and your perceived performance increase of moving software into it
>>
>>59748566
>this thread is for retards only please stop replying
How fucking retarded are you exactly? How about stop conveniently ignoring the people who are actually making good arguments against you?

Are you basically admitting that what you're trying to convince people of is fucking stupid?
>>
File: Unsorted:V 40.jpg (436KB, 850x1511px) Image search: [Google]
Unsorted:V 40.jpg
436KB, 850x1511px
>>59748577
seriously?
we are removing trap interupts , switching to ring 0, and switching VM tables from everything

hardware based isolation, protection rings ect is a non-trivial performance cost.

>>59748588
but that wasn't a good argument and my paper proves me right
>>
>>59747405
It actually is an argument.
>>
>>59748612
not an argument
>>
Marie is an overrated coal burning whore.
>>
>>59748637
delet this / not an argument
>>
>>59748593
wtf delet this her chest isn't that big
>>
>>59748814
>error you cannot delete a pos tthis old
sorry
>>
>>59748637
> coal burning whore.
Nothing wrong with that if she's still young and pretty. Only makes my chances higher.
>>
>>59748850
>>59748637
gross gtfo out of this thread
>>
File: wocs.png (307KB, 620x482px) Image search: [Google]
wocs.png
307KB, 620x482px
>>59748368
Code campers are cheap. That's all you average MBA middle manager cares about. When they need something to actually work, they'll just hire an outside consultant.
>>
>>59748985
>When sleeping women wake, mountains move
Are they trying to say that all women are fat?
>>
>>59748473
>>59748642
and now he's spouting pol memes
fucking crossboarders
>>
>>59749015
moron
>>
https://www.destroyallsoftware.com/talks/the-birth-and-death-of-javascript
>>
uh oh
>>
File: Unsorted:V 22.png (2MB, 1920x1080px) Image search: [Google]
Unsorted:V 22.png
2MB, 1920x1080px
>>59749076
no one clic kthis its a virus
>>
>>59747377
Looks like the main benefits come from that SIP model rather than using JavaScript, so why not use something that can interface with the hardware better
>>
>>59749106
>2. harnessing the pwoer of 10 billion pajeets because javascript is the worlds most popular language with the most development attention
>>
>>59749113
You're generating the code anyway, so that's pointless
>>
>>59749103
I clicked it and nothing happened

>>59749106
wtf is SIP
>>
>>59749113
>>59749128
It also looks like the language they used still needed to be able to do systems programming even though they were already using C/++ and asm, which would rule out using JavaScript.
>>
fuck you nerds on about
>>
>>59748572
I want to HUG Marie Rose !
>>
>>59747377
>asm.js, not wasm
>cherrypicked, trivial numeric benchmarks with almost no heap objects
>latency not measured
>C for comparing security
>2.5d waifus
Nice bait thread, OP.
>>
PINCHE PUTO
>>
these threads need to die
>>
>>59747857
see, this is what I always see in these threads. You're a fucking loser who can;t stand to be proved wrong, so you ignore people, don't reply to them, throw completely irrelevant sources at them. You're wrong, your fucking faggoty obsession with some animated bimbo cannot mask the fact that javascript will not be better than native code in the kernel. You get told the various reasons every time this thread starts and you continue to be a cunt and completely ignore the counterpoints, instead you just screech and hide behind a fucking vide game character.

Kill yourself, put your family out of their misery. You know nothing about kernel programming, and apparently even lessa bout javascript if you think the 2 can be just mashed together. Just because someone at Mozilla is doing it doesn't justify it, it doesn't legitmise it, it doesn't prove its better than anything, people can chase bad ideas and swear they're good ones, its just that these days there are more retards like you to give them false validation and keep people chasing retarded ideas
>>
>>59748370
>>>
So you completely ignored the poster who had the image comparing the most popular languages across a number of popularity indexes? javascript doesn't seem to be the most popular language based on that resource
>>
op make adiscord to jerk off to marie rose
>>
>>59749103
So just as i predicted, yo uremade the thread and got proved wrong yet again. And tomorrow you'll screech on about how you're right based on trivial benchmarking, biased resources that only confirm your incorrect line of thinking, or as you've done a couple of times here, completely ignore concrete, empirical, easily found evidence outlined right in front of you.

You're a joke, You're apparently favourite language is a fucking meme, and you're fucked up obsession with a video game character is just fucking disturbing. it gets thrown around a lot, but you really need to kill yourself, you are of no value to anyone or anything, you have no purpose, your existence just demeans the rest of humanity. You're a fucking disgrace to every programmer whose worth a shit. Stop posting your fucking retarded js obsessed threads, fuck off back to /a/ and leave normal, grown up, well adjusted, not mentally handicapped people to discuss the bigger issues
>>
>>59747377
care to upload those images to mega so I can fap to the-- I mean, filter you?
>>
>>59750927
why not get a real woman and fap over her? I ain't even talking romancing one, just kidnap her, jizz on face, release like trout back into stream. that always works
>>
>>59750940
unfortunately, lolis aren't real
>>
>>59750953
make her hold a cardboard cutout of your favourite loli.

Also, do remember once you've done all this, kill yourself and rid humanity of your filth
>>
>>59751003
But it was your idea, anon.
>>
>>59751003
Hey I come up with the shits, i don't condone them. Is Chris Hansen a pedophile because he lays traps for them?
>>
>>59751051
> Is Chris Hansen a pedophile
yes, closeted
>>
>>59751146
Your logic is flawed
>>
File: Unsorted:V 45.jpg (63KB, 850x478px) Image search: [Google]
Unsorted:V 45.jpg
63KB, 850x478px
>>59750527
>throw completely irrelevant sources at them
wrong
>You're wrong
wrong
>fact that javascript will not be better than native code in the kernel.
Wrong
>You get told the various reasons every time this thread starts and you continue to be a cunt and completely ignore the counterpoints
Wrong, the only counterpoints were about the practicality of writing the actual kernel itself in C, which I partially concede
>You get told the various reasons every time this thread starts and you continue to be a cunt and completely ignore the counterpoints, instead you just screech and hide behind a fucking vide game character.
Wrong
>Just because someone at Mozilla is doing it doesn't justify it, it doesn't legitmise it
You don't understand any of the sources, I doubt you read any of them. You are a retard; probably that guy from the other thread who I btfo
>>
File: Unsorted:V 30.jpg (153KB, 1920x1080px) Image search: [Google]
Unsorted:V 30.jpg
153KB, 1920x1080px
>>59750557
javascript is actually the most popular language

>>59750617
you don't even know what that link is or why I said dont click on it lol. You are so butthurt that you got proven to be thave the brain of an insect yesterday that you wish sooo much for me to be wrong. but Like I said time and time again you dont actually have the brain capacity to do it yourself. You barely understand anything in these threads apart from that you WISH I was wrong. kys you meme eating no-brain retarded hollowman
>>
File: DOA5LR_Marie_Rose_CE.jpg (98KB, 1280x720px) Image search: [Google]
DOA5LR_Marie_Rose_CE.jpg
98KB, 1280x720px
5 cute facts about marie:

- She's a girl!
- She's a fighter!
- I love her!!!!!
- Marie!!!!!!!!!!!
>>
File: Unsorted:V 14.jpg (298KB, 1300x1920px) Image search: [Google]
Unsorted:V 14.jpg
298KB, 1300x1920px
>>
>>59753192
you've been proven wrong several times in this thread. You even admitted to one poster that they were right. Yet you still maintain you're correct.
>>
I haven't been on /g/ for a while... so why is this jaibait slut being spammed on so many thread? What happened?
>>
>>59753686
The retard posting the images happened
>>
>>59753676
that guys argument was about the viability of writing the kernel itself in javascript
but i dont think you understand either side at all brainlet
>>
>>59753745
Nobody understands anything on g
>>
File: T62hzeS.jpg (301KB, 906x950px) Image search: [Google]
T62hzeS.jpg
301KB, 906x950px
>>59753690
Also some retard forgetting who the ACTUAL queen of /g/ is.
>>
File: 1490786452002.jpg (29KB, 450x685px) Image search: [Google]
1490786452002.jpg
29KB, 450x685px
>>59753858
lain?
>>
>>59753858
>>59753204

this board.....
>>
File: 1489105043327.jpg (578KB, 1080x1920px) Image search: [Google]
1489105043327.jpg
578KB, 1080x1920px
>>59753881
>smelly dirtrat as a queen
You clearly have no sense what a true queen looks like
>>
>>59753935
go home, footfag
>>
File: 1489603902347.jpg (38KB, 604x340px) Image search: [Google]
1489603902347.jpg
38KB, 604x340px
>>59753966
Fuck off infidel
>>
There are better DoA girls than Marie, just saying.
>>
>>59754008
>>59753966
You are both fags
>>
>>59754041
lol
>>
>>59753150
>>59753192
You still didn't respond to me pointing out that Microsoft still had to use a language with systems programming capabilities, which JS is clearly lacking
Also according to >>59747846 it's definitely not the most popular
>>
>>59754008
>>59753935
>>59753881
>>59753858
>>59747377
>all these newfags shilling slutty, used up old hags
Not even going to bother mentioning who the real queen was and still is in the hearts of true /g/entoomen.
>>
File: Unsorted:V 29.png (2MB, 1920x1080px) Image search: [Google]
Unsorted:V 29.png
2MB, 1920x1080px
>>59754068
http://www.eweek.com/developer/javascript-most-popular-language-stack-overflow-report.html
https://arc.applause.com/2016/03/22/javascript-is-the-worlds-dominant-programming-language/
https://developers.slashdot.org/story/16/07/31/1530259/c-isnt-the-most-popular-programming-language-javascript-is
>>
File: Unsorted:V 28.png (2MB, 1920x1080px) Image search: [Google]
Unsorted:V 28.png
2MB, 1920x1080px
>>59754068
yes the kernel can be written in C or whatever, while all the processes still run in ring 0 like this real world example:
>>59748015
>>
>>59754082
boxxxy
>>
File: 1460059780311.png (172KB, 462x437px) Image search: [Google]
1460059780311.png
172KB, 462x437px
>>59754082
Nobody cares about your ancient used up representation of a boring time in /g/. Maki is and was always the superior queen and actually saved this board from the shitfest it had become. You should be more appreciative, but oldfags like you are stuck in your old ways. Such a shame.
>>
>>59754129
What's the advantage then if most of the work is being done by C or some other systems programming language anyway? Even that link says JS only makes up 10% of the total codebase. Why not use a different language that could accomplish the same goal of SIP? It's an interesting concept, but there's nothing to convince me that it needs to be done with JS (popularity isn't a good argument either). I bet Rust or D could accomplish the same thing entirely on their own, and you get the advantages of static typing.
>>
>>59754187
>implying anime image can stop a board becoming a shithole

If anything Maki fags made it worse. g is dead, long live g
>>
File: Unsorted:V 5.png (2MB, 1920x1080px) Image search: [Google]
Unsorted:V 5.png
2MB, 1920x1080px
>>59754267
to annoy /g/ mostly
>>
File: 1460004625941.jpg (5KB, 292x282px) Image search: [Google]
1460004625941.jpg
5KB, 292x282px
>>59754272
>this much repression
Maki is the soul of /g/. It literally can't live without her
>>
>>59754453
hey don't talk about my gf like that
>>
>>59754469
>my gf

you sad little man
>>
>>59754441
Maki is a drawing. g needs to grow up
>>
>>59754697
>implying /g/ will ever grow up to be anything outside of 3rd rate coding manbabies
Neck yourself
>>
>>59747716
This cancerous faggot again.
>>
>>59755424
who?
>>
>>59754453
>no subsurface scattering pass on the skin textures
not waifu material/10

Next.
>>
>>59754469
>>59755696
Please give me an actual answer to my questions.
>>
>>59755714
Mostly just bad gameplay with ugly fapmaterial.
No you can not make anyone fuck anyone in the game.

Also OP please start using a trip so it becomes even easier to ignore you.
>>
File: Unsorted:V 38.jpg (602KB, 1524x1050px) Image search: [Google]
Unsorted:V 38.jpg
602KB, 1524x1050px
>>
>>59747377
>shift to virtual memory protection instead of hardware based irq we can increase speed
Did you forgot to reason what you read kid?
>WRONG! how often does javascript break out of sandbox today?
https://arstechnica.com/security/2017/03/hack-that-escapes-vm-by-exploiting-edge-browser-fetches-105000-at-pwn2own/
>>
File: Unsorted:V 11.jpg (770KB, 1548x1050px) Image search: [Google]
Unsorted:V 11.jpg
770KB, 1548x1050px
>>59759656
>Did you forgot to reason what you read kid?
see:
>>59748513
>>59748566
>>59748593

https://arstechnica.com/security/2017/03/hack-that-escapes-vm-by-exploiting-edge-browser-fetches-105000-at-pwn2own/
lol
>>
>>59754008
wtf
>>
>>59754041
ridiculous
>>
u could at least bump with pics...
>>
>>59748618
It ought or should an argument.
>>
>>59763586
wtf
>>
>>59759656
"javascript" didn't escape out of the "sandbox".
It escaped out of FUCKING EDGE.
Edge isn't V8 or Spidermonkey.

I know there are some vulnerabilities with it, I believe with bytecode, but that's a terrible fucking bullshit "example".

Show me an attacker escaping out of V8/node.
>>
>>59765748
node without a module that uses vulnerable C or other code, that is.
>>
javascript is a horrid garbage like every other web programming language.
JS means just shit.
KYS jsfag
>>
>>59766355
>like every other web programming language
There are no others.
>>
>>59766412
>Ruby
>Python
>Go
>Node
>Coffeescript
>OOC
>>
>>59747377
>the most powerful modern oop opensource codebase
That's what people that never took a single second to check existing libraries claim.

>portability would be solved forever
That's what people that don't understand this is exactly what C and Java already tried to do claim, and C is the closest we got, despite all its issues, and javascript isn't fixing any of that.

Should I continue? You seem to think that what javascript does has never been done nor even attempted before. And you're wrong. And it failed. For reasons javascript can't fix.
>>
>>59768345
You can't write web clients in any of those. Don't be retarded.

For servers, literally any language including assembly can be used to make web backends.
>>
>>59768345
>functional
it's shit
>>
>>59768345
>being this fucking retard
You never go full retard, anon. Never.


Also, lol'd at coffescript.
CS is a transpiler
>>
>>59770411
>CS is a transpiler
It's also a language you fucking retard.
Is C not a language when you pass -S to gcc?
>>
>>59747734
it is, look up the standard
>>
File: never.jpg (11KB, 247x204px) Image search: [Google]
never.jpg
11KB, 247x204px
>>59770411
>>
How tight is Marie Rose's ring 0?
>>
>>59770539
Nope. It's a used condom.

I have actually been meaning to learn CS though.
Or at least look through a cheatsheet of its functions to see if it is worth learning.
Likewise with Haxe.
>>
>>59747377
asm.js may perform as well as C, but asm.js is not the same thing as hand-written js. It's a limited subset of Javascript that uses only the most simple and easily optimization constructs. Asm.js is to js what C is to C++, thus one could reasonably call it js--. It's by definition a heavily optimized subset of the global js codebase. There's no reason to think that regular js will be anywhere as fast, considering that even idiomatic C++ is orders of magnitude slower than good hand-written C.

>>59747556
>kernal
I'm pretty sure a Commodore 64 can't execute Javascript code :^)

>>59747784
>JavaScript does not have the semantics to represent "write this value to this physical address".
That would be trivial, all you'd need to do is treat the entirety of physical memory as an array in global scope.

>How do you expect to manipulate a 64-bit integer value in a language that cannot operate on 64-bit integers?
By manipulating them in smaller chunks, that is then optimized into a single instruction by the JIT compiler.

>You literally cannot drop all native code. Even the so called "Java OS" I sometimes see dropped into these sorts of discussions relies on assembly.
You could drop "native code" as we understand it by using an architecture that supports a high-level language at the hardware level. This concept has largely been forgotten since the x86 architecture is intended mainly as a compiler target, however historically the ease of hand-writing assembly code has been a factor in the design of instruction sets. There are already proposals for example for CPUs that can execute Java bytecode directly.

>>59748226
Dynamic typing is literally how computers work though. It's the main reason why Pascal never caught on.

>>59748496
Which means disk I/O and heap operations in JS would be faster since it doesn't need to go through the intermediate OS layer.
>>
File: Unsorted:V 37.jpg (254KB, 1920x1080px) Image search: [Google]
Unsorted:V 37.jpg
254KB, 1920x1080px
>>59770411
>>59768536
>>59768562
>>59768423
>>59768345
>>59766412
>>59766355
brainlets get OUT
>>
>>59748349
>var i = "1"; i++;
This one should throw an error in any sane scripting language.
If anything I see string incrementation as
mov al, [i]
inc al
mov [i], al

Then var i = "foo"; i++; would give "goo".
Alternatively if you reference to strings with pointers than string incrementation would be actually pointer incrementation and var i = "foo"; i++; would give "oo".
Still I see no point in incrementing strings and the best practice would be to throw a type error at compile time.

>var i = "i"; i += 1;
Same as above, just even more obviously bullshit. Even a coding monkey would notice the types are incompatible here.

>[5,1,20,10].sort()
Bullshit on too many levels to name. Not only does this piece of crap of an interpreter somehow thinks integers are strings, why the fuck is this array literal an object?

>typeof NaN === "number"
If you swap the sides of the comparison it looks reasonable. A string literal obviously is not a number afterall. Obviously it's wrong though and Idk how the interpreter even comes up with stuff like this.

>NaN !== NaN
This one's correct unless we implement a 3-state logic, then any comparison with a NaN should be an "undefined" state.

>0 == ""
Incompatible types again but maybe it just casts an empty string to a char, in which case it's correct (as long as strings are zero-terminated).
>0 == "\t\r\n"


Or maybe the string literal in both examples just happens to be at the beginning of the segment in which case their pointers are 0 (very unlikely).

>"false" == false
Alright, so this language just lets a monkey dev compare anything to anythng to see what happens. Than this one's correct.

>![]
Just what the fuck?

>[] == false
Alright, if you turn [] 90° then you get a cake. And all know cake is a lie. Fuck me.
>>
>>59774165
lol
>>
>>59748349
>>59774165
https://www.destroyallsoftware.com/talks/wat
>>
File: Unsorted:V 47.jpg (58KB, 850x478px) Image search: [Google]
Unsorted:V 47.jpg
58KB, 850x478px
>>59774785
epik
>>
>>59774852
who?
>>
>>59747377
I want to touch Marie's no no zone!!
>>
Wtf
Thread posts: 195
Thread images: 54


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.