[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
Hello /g/, many codes are compiled, but how compilers like gcc
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 53
Thread images: 15
File: 53493000_p0.jpg (134 KB, 800x1131) Image search: [Google]
53493000_p0.jpg
134 KB, 800x1131
Hello /g/, many codes are compiled, but how compilers like gcc compiled?

>Pic unrelated, best girl
>>
dumb anime poster
>>
Shit-tier girl
>>
>>52242744
assembler?

Makes me wonder how assemblers get assembled desu.
>>
>>52242815
by hand
>>
File: smugi.jpg (25 KB, 349x720) Image search: [Google]
smugi.jpg
25 KB, 349x720
>>52242744
with previous compilers. Eventually you trace things back to where someone wrote a compiler in assembly or machine language.

>>52242815
yeah, think about that. way back when someone literally wrote the assembler in machine language, by writing down numbers and punching them in. This is seldom if ever done anymore, since you can cross-compile things to new architectures.
>>
I would assume
https://en.wikipedia.org/wiki/Bootstrapping_%28compilers%29
>>
>>52242744
it's compilers all the way down
>>
>>52242842
>yeah, think about that. way back when someone literally wrote the assembler in machine language, by writing down numbers and punching them in

No way. That cannot be possible.
>>
File: 1451795217359.jpg (37 KB, 800x453) Image search: [Google]
1451795217359.jpg
37 KB, 800x453
>>52242744
sage anime threads
report anime threads
hide anime threads

>no fun allowed
fuck you
>>>/a/
>>>/jp/
>>
>>52243000
This thph, famila
>>
>>52242912
So, let's say C compilers were compiled with a compiler, and that compiler was compiled by another compiler.. goto that compiler.
>>
File: 061119-completed_altair_1974.jpg (69 KB, 910x408) Image search: [Google]
061119-completed_altair_1974.jpg
69 KB, 910x408
>>52242947
I want you to take a guess as to how this machine is programmed.

you input your assembly instructions one at a time by flipping the different registers and pressing return to enter the next one
>>
File: 1429939392388.jpg (220 KB, 600x800) Image search: [Google]
1429939392388.jpg
220 KB, 600x800
>>52242744
Looks like you made a mistake in your lost. Whoops! Pic related is best girl.
>>
File: cute anime pic 0015.jpg (90 KB, 624x623) Image search: [Google]
cute anime pic 0015.jpg
90 KB, 624x623
>>52243000
counter saged
>>
File: 1451294740365.jpg (28 KB, 310x350) Image search: [Google]
1451294740365.jpg
28 KB, 310x350
>>52243000
>Whining about anime on a Byzantine theology forum
>>
>>52242744
>°‡ÏÎÓˆ¨∏fiÁˆÎÓ, °ÏΈ¨´˘∏fiÏβÔŒ´∏Áˆ˛Ç˝Ïˆ

˝ÏÁˆÎÏÁ∏˘¯O´¨∏›‹¯O´¨ˆÏ˝°‡flÏÎÓlj˜ˇÓı˛ˆÁfifl‡˝°ÓβÔ´˘∏Áˆ˛ÔŒO¯‹¯O´˘‹€Æ¯O˘›∏ÁχflÁÏ˝Ç°˝Óˇ‰ÇÓ¡ÓÎıÂÓΈ¨˛ˆ¨∏˘OŒÔ¨∏˘OŒÔ˛ÎÓ˝Ïˆ˛ı„˜‰ÒÍ◊„ÂÓ˝ÏÁflfi∏›˘¯OŒÔνÏÁ∏¨Ô˛ıÂˇÇ˝Ï‡Áfl∏fi˘¯ÆÅO´¨ˆÎÓˇ‰Ò¿Í˜ˇÂı˛Ô¨´ŒOů˘›fiflÏ˝Ç‰Ò‰‚·Ç°‡∏˘´O¨ˆ˝Ç‰˜◊ˇ„ÓıβˆÁfi›˘‹¯O´¨ˆÎӽljÒÍ„ÂıÎÏ˝‡fl∏˘´OÅƯ€‹›∏ÁfiÏ˝ÇˇÂ„
>>
>>52242947
I guess you wouldn't believe in punch cards either
>>
>>52243034
>implying I don't have a raging hardon for dekomori

Futile attempt. Let's keep anime to its containment board, leave /g/ out of this.
>>
>>52243000
it's a legitimate question. fuck you

the answer is, some low level of the compiler is written directly in assembly language.
>>
>>52243060
actually, it's written in mathematics, in the form of a formal proof, but translated into assembly language.
>>
>>52243041
>Byzantine
>not 15th century Muscovite
>>
File: nofun2.jpg (57 KB, 385x354) Image search: [Google]
nofun2.jpg
57 KB, 385x354
>>52243000
>>
>>52243033
>Mio
Keep dreaming.
>>
>>52243084
>i ostensibly have more esoteric knowledge than you and can spout it at convenience meaning i am the supreme gentleman :^) and am not threatened by learning mathematics
>>
File: The best.jpg (249 KB, 1200x1697) Image search: [Google]
The best.jpg
249 KB, 1200x1697
>>52242803
I rode my bike alway the way back from gym (4chan is blocked on the wifi there but clover gets you read only) to tell you that you're a fucking retard with shit taste and Azusa is the cutest, kindest and most beutiful girl out there and anyone who can't see that is mentally ill

Fuck you
>>
>>52243625
She's shit m8, not even Komeiji could keep pretending to like her
>>
>>52243000
>that timestamp
Did you scroll to the start of your 4chan folder?

You fucking reddit scum
>>
>>52243661
Mentally ill retard with shit taste detected

Have you seen the show? Both seasons? Did you just extract the subs and have read to you text to speech?
>>
>>52243625
>4chan is blocked on the gym wifi
really? why?
>>
>>52243694
Great big list of things which I'm pretty sure included "cp sharing site"
But the main stuff was to do with porn
>>
>>52242947
But it is.
>>
>Cute anime pictures and azusa
sadboy plz go
>>
>>52243752
redditfag get out
>>
>>52243752
I'm not sadboy. I am not a desktop thread regular degenerate.
>>
>>52242947
uhhh
>>
>>52243060
>legitimate question
>something that is covered in almost every intro to cs or compilers class
>something that has been asked to death and Google would give you the answer with no need to anime avatarfag
No, fuck off
>>
>>52243752
>not knowing sadboys filename format
how fucking new are you
>>
Interestingly enough nearly all modern C/C++ compilers are written in C/C++
>>
>>52243165
>using the smiley with a carat nose
>>
>>52245244
You can even use stuff like YACC to easily write your own compilers.
>>
>>52245349
A compiler is a bit more than just a parser, m8
>>
>>52242744
bump for best ko
>>
File: BhXKf3rIQAAnIuL.jpg (80 KB, 599x854) Image search: [Google]
BhXKf3rIQAAnIuL.jpg
80 KB, 599x854
>>52242744
>best girl?
>>
File: MysioFG.gif (348 KB, 450x450) Image search: [Google]
MysioFG.gif
348 KB, 450x450
>>52242744
They eventually become capable of self compilling, before it its all in assembler or aided by other compilers I think. Best k-on indeed.

>>52243000
:3
>>
File: 1448520093908.gif (231 KB, 480x270) Image search: [Google]
1448520093908.gif
231 KB, 480x270
Best girl passing through
>>
File: 1451775455409.png (810 KB, 2000x2241) Image search: [Google]
1451775455409.png
810 KB, 2000x2241
Best anime girl right here.
>>
>>52242744
read Steve Levy's Book Hackers and you'll find out
>>
File: 04.jpg (32 KB, 640x480) Image search: [Google]
04.jpg
32 KB, 640x480
>>52242744
GCC was without a doubt compiled using another compiler. The first compilers to ever exist were either written in assembly or pure binary, since compilers didn't exist.
>>
>>52247869
>>>/trash/
>>
>>52249022
You should go there if you disagree with my fact.
>>
>>52242744

>dumb animefag post
>>
>>52243665
>>52242744
Petite girls really turn me on
Thread replies: 53
Thread images: 15

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

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.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.