Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #33133 > unrolled thread

Can one access a CPU in Javascript?

Started bybit-naughty@hotmail.com
First post2017-04-29 00:38 -0700
Last post2017-04-30 07:50 +0700
Articles 4 — 4 participants

Back to article view | Back to comp.lang.javascript


Contents

  Can one access a CPU in Javascript? bit-naughty@hotmail.com - 2017-04-29 00:38 -0700
    Re: Can one access a CPU in Javascript? Maik Koenig <usenetspam@maikkoenig.de> - 2017-04-29 10:03 +0200
      Re: Can one access a CPU in Javascript? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-04-29 11:32 +0200
    Re: Can one access a CPU in Javascript? JJ <jj4public@vfemail.net> - 2017-04-30 07:50 +0700

#33133 — Can one access a CPU in Javascript?

Frombit-naughty@hotmail.com
Date2017-04-29 00:38 -0700
SubjectCan one access a CPU in Javascript?
Message-ID<7e13d416-f472-4621-bb21-eb4ab7359c18@googlegroups.com>
...like, what I'm talking about is Machine Code?? Like you could have inline asm in C,.... - like that?
I heard about WebAssembly, and assumed that that's what it was - apparently it's not, it's some way to run OTHER LANGUAGES besides JS in the browser or whatever! That's brilliant, but it doesn't serve my purpose unfortunately.....does anyone know?
I'm ESPECIALLY interested in how to program MMX and suchlike things in Javascript....


Thanks.

[toc] | [next] | [standalone]


#33136

FromMaik Koenig <usenetspam@maikkoenig.de>
Date2017-04-29 10:03 +0200
Message-ID<oe1oe9.6ak.1@mid.maikkoenig.de>
In reply to#33133
Am 29.04.2017 um 09:38 schrieb bit-naughty@hotmail.com:
> ....like, what I'm talking about is Machine Code?? Like you could have inline asm in C,.... - like that?
> I heard about WebAssembly, and assumed that that's what it was - apparently it's not, it's some way to run OTHER LANGUAGES besides JS in the browser or whatever! That's brilliant, but it doesn't serve my purpose unfortunately.....does anyone know?
> I'm ESPECIALLY interested in how to program MMX and suchlike things in Javascript....
> 
> 
> Thanks.
> 

No

Greetz,
MK
-- 
Kopp-Verlag-Gläubige, Religionsdeppen, rechte Vollidioten
 und ähnlicher Bio-Abfall werden ohne Hinweis ignoriert!

[toc] | [prev] | [next] | [standalone]


#33139

From"Evertjan." <exxjxw.hannivoort@inter.nl.net>
Date2017-04-29 11:32 +0200
Message-ID<XnsA76675599E724eejj99@194.109.6.166>
In reply to#33136
Maik Koenig <usenetspam@maikkoenig.de> wrote on 29 Apr 2017 in
comp.lang.javascript: 

> Am 29.04.2017 um 09:38 schrieb bit-naughty@hotmail.com:
>> ....like, what I'm talking about is Machine Code?? Like you could have
>> inline asm in C,.... - like that? I heard about WebAssembly, and
>> assumed that that's what it was - apparently it's not, it's some way to
>> run OTHER LANGUAGES besides JS in the browser or whatever! That's
>> brilliant, but it doesn't serve my purpose unfortunately.....does
>> anyone know? I'm ESPECIALLY interested in how to program MMX and
>> suchlike things in Javascript.... 
> 
> No

Right!

Unless you manipulate the browser or switch of its security.

Could Tampermonkey reach the command-line in that way?

-- 
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

[toc] | [prev] | [next] | [standalone]


#33144

FromJJ <jj4public@vfemail.net>
Date2017-04-30 07:50 +0700
Message-ID<6cmke8zv5ok6.otff8lpu1dwk.dlg@40tude.net>
In reply to#33133
On Sat, 29 Apr 2017 00:38:53 -0700 (PDT), bit-naughty@hotmail.com wrote:
> ....like, what I'm talking about is Machine Code?? Like you could have inline asm in C,.... - like that?
> I heard about WebAssembly, and assumed that that's what it was - apparently it's not, it's some way to run OTHER LANGUAGES besides JS in the browser or whatever! That's brilliant, but it doesn't serve my purpose unfortunately.....does anyone know?
> I'm ESPECIALLY interested in how to program MMX and suchlike things in Javascript....
> 
> Thanks.

No. At least not for client side JavaScript.

It can be only done using NodeJS extension. However, it would only useful if
it executes a series of CPU instruction in one function call, rather than
only one CPU instruction.

WebAssembly has nothing to do with Assembly programming language. Same goes
to .NET assembly crap.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.javascript


csiph-web