[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]

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

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: 54
Thread images: 4

File: 1422224758993.jpg (90KB, 496x514px) Image search: [Google]
1422224758993.jpg
90KB, 496x514px
In what languages are Javascript, html,php,sql written?

Something needs to be beneath it for these abstractions to work.
>>
In whatever language you want.
>>
>>56564505
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
>>
>>56564505
C i think
maybe some ASM
>>
>>56564554
Firefox has also growing parts (re)written in Rust.

>>56564505
Writing a parser doesn't need a special programming language. Just look at the compiler/interpreter for a special language.
>>
>>56564562
>writing a parser in assembly
>>
>>56564554
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

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

https://developer.mozilla.org/en-US/Firefox/Building_Firefox_with_Rust_code
>>
>>56564582
There are plenty of RegEx implementations in assembly.
>>
>>56564621
>>56564554
So C and C++ are the technologies of the web?

How ironic, considering all the Haskell, Erlang and Rust shills on this board.
>>
>>56564571
>Writing a parser doesn't need a special programming language

Then how do you write parser without language?
>>
>>56564682
Magnetic needle and a steady hand
>>
>>56564505
what language is C and C++ written in?
>>
>>56564682
>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.
>>
>>56564697
Every time I get to that part I use needle to inject heroin instead. Erry time.
>>
>>56564718
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.
>>
>>56564718
in B
>>
>>56564718
C++ is written in C

C is written in BCPL/CPL (aka "B")
>>
>>56564745
So you're saying it's turtles all the way down?
>>
>>56564772
Yes
>>
>>56564772
Yes
>>
>>56564772
Yes
>>
>>56564772
No
>>
>>56564772
Maybe
>>
>>56564764
Doesnt C translates directly to assembly? These layers man...
>>
>>56564772
I don't know
>>
>>56564815
>directly
No, but almost. C is today considered a portable assembly, but it is a high level programming language.
>>
>>56564772
Perhaps
>>
>>56564772
install gentoo
>>
File: install-gentoo2.png (94KB, 920x497px) Image search: [Google]
install-gentoo2.png
94KB, 920x497px
>>56564851
>>56564816
>>56564809
>>56564792
>>56564791
>>56564785
>>56564783
>>56564870
Thanks /g/
>>
>>56564832
>high level
It's mid level at most.
>>
>>56564832
>No, but almost.
What is it? Where can I read more about that?
>>
>>56564897
C is a high level language, it offers high-level abstractions to IO and other system functionality.
>>
>>56564743
<<<redit
>>
File: fgdsgfjdhsgfa.png (107KB, 500x670px) Image search: [Google]
fgdsgfjdhsgfa.png
107KB, 500x670px
>>56564631
>using regex to parse html
>>
>>56565108
Who are you quoting?
>>
>>56565108
What's wrong with that?
>>
>>56565147
HTML parsing is not possible with regexes because it requires matching of opening and closing tags.
>>
>>56565147
https://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags
>>
>>56565175
>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
>>
>>56565246
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.
>>
>>56565321
Because C++ is difficult for most people to program in, whereas even hipsters can manage to throw simple shit together in javascript.
>>
>>56564672
>So C and C++ are the technologies of the web?
If you want to be out of job, then yes.
>>
>>56565350
I find C much easier than JS.
>>
>>56565175
>because it requires matching of opening and closing tags.

no it doesn't, you don't need to close any tag
>>
>>56565736
>any tag
Dumbass.
>>
>>56564505
in english you stupid fuck
>>
>>56564764
What is B written in?
>>
>>56564672
All these language are used, just not as much as C/C++
>>
>>56564745
>Most languages are self-hosting
>most
see >>56564554
>>
>>56564815
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
>>
>>56564772
Can you repeat the question
>>
>>56568345
Not >>56564815, but interested.
>>
>>56568345
Do you even know how compiles work dumbfuck.
Thread posts: 54
Thread images: 4


[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.