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

Forth is the most incredible programming languages. All languages

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: 29
Thread images: 9

File: 1501032114371.jpg (11KB, 228x221px) Image search: [Google]
1501032114371.jpg
11KB, 228x221px
Forth is the most incredible programming languages. All languages are stack machines under the hood. One day they will realize the greatness of forth
>>
nice meme


for a loser
>>
File: image.png (279KB, 724x408px) Image search: [Google]
image.png
279KB, 724x408px
>>61787084
>>
>>61787054
FORTH-SHILLS WELL-PAID?
>>
>>61787054
: loosers ." Think these are shill threads... they will never understand" ;

loosers

One day they will learn OP, o-o-one d-d-day they w-w-wil l-l-learn
>>
>>61787492
>implying there is any money in shilling Forth

>>61787202
>>>/nofap/
>>
File: forth.png (49KB, 808x296px) Image search: [Google]
forth.png
49KB, 808x296px
>>61787054
http://www.mpeforth.com/software/pc-systems/vfx-forth-for-windows/
http://www.mpeforth.com/software/pc-systems/vfx-forth-for-linux/

Read this first:
https://www.forth.com/starting-forth/


"Nature is pleased with simplicity, and affects not the pomp of superfluous causes."
—Newton

"A map is not the territory it represents, but, if correct, it has a similar structure to the territory, which accounts for its usefulness."
—Alfred Korzybski
>>
>All languages are stack machines under the hood
Not really. LLVM IR is basically a register machine. CLR and JVM languages may be targeting a bytecode standard that is essentially a stack machine, but this is not really the case for a lot of native languages.
>>
File: 1499566979852.jpg (51KB, 768x960px) Image search: [Google]
1499566979852.jpg
51KB, 768x960px
>>61787667
llvm is register base because they compile down to actual machine code which runs on registers

any real language uses a stack
>>
>>61788009
What is real?
t.Velveteen Rabbit
SPARC almost sorta kinda had inbuilt support for stacks, with the register windowing and thousands of register contexts stuff. But you should crack open your Hennessey and Patterson and stop living in a meme m8.
>>
>>61788009

Well most real languages target LLVM and/or GCC's intermediate format.
>>
>>61788114
llvm is not a language though llvm is basically a simulated computer ISA. It's not the same as something that is an actual language.
>>
>>61788560

LLVM is an intermediate format. What was claimed was that most languages are stack machines under the hood. Seeing as most native languages compile to LLVM, it is what they are under the hood, and it is a register, not stack machine.
>>
>>61788583
A language that compiles to llvm is not the same thing as llvm. That's like saying haskell is the same as llvm fyi
>>
>>61788609

Right. I'm not saying that these languages ARE LLVM, only that they use LLVM under the hood. LLVM is a pretty standard intermediate representation format. GCC's compilers also use their own intermediate representation which is not stack-based.
>>
>>61788850
So you are saying that no stack has ever been implemented in llvm?
>>
>>61788850
>>61788583
>>61788583
>>61788114
>>61788009
llvm doesn't support stacks
>>
File: 1501917402542.png (396KB, 726x306px) Image search: [Google]
1501917402542.png
396KB, 726x306px
Which would you choose?
>>
>>61789118

No, only that LLVM itself is not a stack machine, and most compiler backends are not stack machines, at least for langauges that are intended to run directly on the hardware with no virtual machine or interpreter sitting in between.

The claim by OP:
>All languages are stack machines under the hood.

The reality:
>The intermediate representation used for many popular languages "under the hood" is not actually a stack machine. Since the target platform for most programs is instructions is machine code for register-based instruction set architectures, it is easier to use an intermediate format that is register based as well.
>>
File: 1499922973120.jpg (5KB, 250x166px) Image search: [Google]
1499922973120.jpg
5KB, 250x166px
>>61790267
all GOOD languages are stack based
>>
>>61790267
That is completely not true. You are saying that any language written for llvm is not stack based under the hood because llvm does not use stacks and that is not true. It may compile down to something on llvm that uses a stack on top of llvm even though llvm itself is stackless
>>
>>61789412
'NIL
>>
>>61790986

The logical step before an intermediate representation would be an abstract syntax tree. There would be no reason to use a stack machine anywhere in the compilation process.
>>
>>61791058
It doesn't work that way anon you have to choose
>>
>>61791201
ok then I choose the toned, broad-chested, tanned masculine man with common lisp superimposed on his picture
>>
File: 1500272207029.jpg (45KB, 567x510px) Image search: [Google]
1500272207029.jpg
45KB, 567x510px
>>61791268
nope you either have to choose cute forth tan or clinton c tan
>>
>>61787054
It's like not even in the top three languages
>>
File: generdsdfdsfate.png (139KB, 500x700px) Image search: [Google]
generdsdfdsfate.png
139KB, 500x700px
>>
>>61789412
CUTE FORTH TAN
-Simplicity
-Beauty
-Symmetry
-Stalwart defender of Christian civilization

CLINTON C TAN
-Complexity
-Deformity
-Unnecessary
-Satanic devil worshiping establishment doormat
Thread posts: 29
Thread images: 9


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