In what languages are Javascript, html,php,sql written?

In what languages are Javascript, html,php,sql written?

Something needs to be beneath it for these abstractions to work.

Other urls found in this thread:

developer.mozilla.org/en-US/Firefox/Building_Firefox_with_Rust_code
stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags
twitter.com/SFWRedditVideos

In whatever language you want.

C and C++ mostly.

Firefox is written in C and C++
Chrome is written in C++
webkit is written in C++
V8 is written in C++
MySQL is in C++
Zend (PHP engine) is written in C
PostgreSQL is written in C

C i think
maybe some ASM

Firefox has also growing parts (re)written in Rust.

Writing a parser doesn't need a special programming language. Just look at the compiler/interpreter for a special language.

>writing a parser in assembly

node.js is written in C and C++
CPython is written in C
Safari is written in C++ and Objective-C
IE was written in C++
Edge is written in C++
MongoDB is written in C++ and C
CouchDB is written in Erlang
Apache is written in C
nginx is written in C
lighttpd is written in C
Tomcat is written in Java
IIS is written in C

>Firefox has also growing parts (re)written in Rust.
It's dual stack atm, and not enabled by default

developer.mozilla.org/en-US/Firefox/Building_Firefox_with_Rust_code

There are plenty of RegEx implementations in assembly.

So C and C++ are the technologies of the web?

How ironic, considering all the Haskell, Erlang and Rust shills on this board.

>Writing a parser doesn't need a special programming language

Then how do you write parser without language?

Magnetic needle and a steady hand

what language is C and C++ written in?

>special programming language
>without language
Saying that you don't need "this" language doesn't mean you don't need any language. Learn reading.
But honestly you don't need one. Write your opcodes and have fun.

Every time I get to that part I use needle to inject heroin instead. Erry time.

Most languages are self-hosting which means you write the compiler in the same language. You just need a compiler in a lower language once and than extend your compiler with your language.

in B

C++ is written in C

C is written in BCPL/CPL (aka "B")

So you're saying it's turtles all the way down?

Yes

Yes

Yes

No

Maybe

Doesnt C translates directly to assembly? These layers man...

I don't know

>directly
No, but almost. C is today considered a portable assembly, but it is a high level programming language.

Perhaps

install gentoo

Thanks Sup Forums

>high level
It's mid level at most.

>No, but almost.
What is it? Where can I read more about that?

C is a high level language, it offers high-level abstractions to IO and other system functionality.

...

>using regex to parse html

Who are you quoting?

What's wrong with that?

HTML parsing is not possible with regexes because it requires matching of opening and closing tags.

stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags

>not possible
It's possible by doing it in separate steps, but it's not performant.

There's also extended regex syntax that allows you to refer previous groups in your expressions.

>Javascript, HTML
These are handled in web browsers, which are almost all written in C++

>PHP
C

>SQL
MySQL is written in C++
PostgreSQL and SQLite are written in C

I never understood why didn't people just continued to use C++ since whole browser (and OS after all) is written in it instead of inventing javascript and other stuff.

Because C++ is difficult for most people to program in, whereas even hipsters can manage to throw simple shit together in javascript.

>So C and C++ are the technologies of the web?
If you want to be out of job, then yes.

I find C much easier than JS.

>because it requires matching of opening and closing tags.

no it doesn't, you don't need to close any tag

>any tag
Dumbass.

in english you stupid fuck

What is B written in?

All these language are used, just not as much as C/C++

>Most languages are self-hosting
>most
see

no, it doesn't translate directly. do you know any programming language or concepts like functions variables etc.? if so i can give you an example of C code and equivalent assembly code and walk you through both

Can you repeat the question

Not , but interested.

Do you even know how compiles work dumbfuck.