[ / / / / / / / / / / / / / ] [ dir / arepa / ausneets / cyoa / girltalk / htg / leftpol / tacos / voat ]

/tech/ - Technology

Name
Email
Subject
Comment *
File
Password (Randomized for file and post deletion; you may also set your own.)
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Flag
Oekaki
Show oekaki applet
(replaces files and can be used instead)
Options

Allowed file types:jpg, jpeg, gif, png, webm, mp4, pdf
Max filesize is 16 MB.
Max image dimensions are 15000 x 15000.
You may upload 3 per post.


File: 6d7591332b2a24f⋯.jpg (155.32 KB, 800x864, 25:27, serveimage.jpg)

File: 9a76a3820a36262⋯.png (43.83 KB, 1024x450, 512:225, 6b5386ac8b1ed26c49f1e5e46d….png)

File: 1021789ff7ce676⋯.jpg (45.71 KB, 500x600, 5:6, 66a18f7326677db3b1983a304f….jpg)

 No.898577

This board sucks so let's have a fun /tech/ thread

 No.898582

Does anyone actually program in Forth? It's such a bizarre language.


 No.898588

File: 50b489a477372f6⋯.png (40.48 KB, 640x480, 4:3, 6a0120a85dcdae970b0128776f….png)

File: 19c75267b0d97f0⋯.png (616.51 KB, 674x7920, 337:3960, 19c75267b0d97f00db092039ab….png)

File: 57ed00dd1bd96eb⋯.jpg (51.54 KB, 503x489, 503:489, 1484257321243.jpg)


 No.898614

File: bee289e84ddb179⋯.png (30.44 KB, 681x242, 681:242, cons.png)

File: 202eed3a3a05f3a⋯.png (25.66 KB, 638x166, 319:83, sierpinski.png)

File: dc5277326348faa⋯.png (7.57 KB, 255x172, 255:172, turbo-libre.png)

>>898582

Y-yeah!

[spoiler] I run a FORTH enthusiast's ((Discord)) server kek. There aren't more than half a dozen people on 8chan that actually know FORTH [/spolier]


 No.898626

A programming language is a tool. You may be a retarded nigger who will chop off his arm using retard-safe handsaw, but you may also be a somewhat not retarded man using a chainsaw and doing much more work in less time.

Also OOP is truly a mess. Housewives orientation was a mistake of nature and retarded and greedy computer company CEOs.

>>898614

Forth - a strange llvm based on low assembler abstraction that nobody actually uses. Why you may ask me? Because of its main feature - a vocabulary.

EVERY SINGLE PROGRAMMER WRITES DIFFERENT VOCABULARY

IT'S INFURIATING TO READ AND DECODE

I know one autist who does it and i swear to God:

it's unreadable - his naming convention is retarded and not documented at all

and it's bloated - one simple firmware code takes ALL THE BLOODY ASCII CHARACTERS! and he uses spaces instead of tabs When my code takes about 12 kbytes most, his "small starting" vocabulary would not fit into chip 32 kbytes of internal memory!


 No.898629

>>898614

>discord

>forth

I'm surprised discord users have the mental capacity to venture beyond anything other than JS and PHP.


 No.898638

File: e141f5d7a2b40f7⋯.png (41.27 KB, 640x407, 640:407, rc4.png)

>>898629

Yeah the use of Discord has been very controversial, but IRC channels die super quickly and matrix seems quite bloated.

Just to be clear, I'm basically the only guy there that actually know FORTH of the close to 40 users.

>>898626

He's a fucking retard then. Threaded Forth code is far more compact than any other low level language out there (including assembly in many cases).


 No.898642

>>898638

>>898626

>Forth - a strange llvm based on low assembler abstraction that nobody actually uses. Why you may ask me? Because of its main feature - a vocabulary.

Also, you're clearly quite misguided on what Forth is most useful for.

Forth is best fit for embedded real time applications, not for writing dumb soycode.

Link related:

https://www.forth.com/resources/space-applications/


 No.898651

>>898577

Does anyone have that image that shows graphs of text editors and their learning curves of time spent vs skill gained?


 No.898840

File: 396aadaf33fdf05⋯.jpg (342.36 KB, 500x3714, 250:1857, summon hovant.jpg)

Thus spake the Master Programmer:

"When you have learned to snatch the error code from the trap frame, it will be time for you to leave."


 No.898848

>>898588

Do you have screencaps of all those subsidized campaigns to "attract" women into coding and sexist practices that give women a free entrance to jobs where men have to work harder to get the same job?


 No.898860

>>898848

>dem wimmen is stealin our fizzbuzz jobs


 No.898953

>>898638

RocketChat. Do it.


 No.898958

>>898577

>first picture

How a soyboy views users of programming languages.


 No.899025

File: 08d99fa07c4ffce⋯.jpg (15.82 KB, 255x216, 85:72, 1464423525325.jpg)

>>898840

>spake


 No.899026


 No.899028

>>899025

Read a book yourself, and then maybe you'll get the reference.

https://en.wikisource.org/wiki/Thus_Spake_Zarathustra


 No.899045

File: b3b3b34f0fca744⋯.jpg (50.28 KB, 640x750, 64:75, stack-vs-gf.jpg)

>>898953

Nice meme, that shit is even more soy than Matrix or Discord.


 No.899078

>>898614

Hey, give us a link mate.


 No.899079

File: aed8fc124349c2a⋯.png (690.34 KB, 1172x965, 1172:965, enbies.png)

>>899078

https://discord.gg/z2szGQG

Niggers and soycoders need not apply.


 No.899081

>>899028

Am I a brainlet for thinking it was a reference to Arkvoodle, God of the Futons, from Destroy All Humans 2


 No.899099

File: 4d459e190c3cf88⋯.jpg (1.15 MB, 800x2798, 400:1399, toggl-how-to-save-the-prin….jpg)

File: e2784fa040cdfb6⋯.jpg (828.25 KB, 800x3090, 80:309, toggl-how-to-kill-the-drag….jpg)


 No.899123

>>899099

>You have a set of UNIX coreutils.

<You use your trusty sword, dagger, and spear to slice off chunks of the dragon until eventually there's nothing left.

>You have Python.

<A wizard gives you a wand. You wave it and the dragon disappears. Everyone declares you a hero.

>You have Haskell.

<An alternate village poofs into existence, where there is no dragon and everyone is happy. This is where you live now.

>You have CUDA.

<You slave away for years building a powerful siege weapon which will slay every existing dragon simultaneously. The villagers think it's too complicated and just ask the Python mage to do it instead.


 No.899165

>>899099

>You have Rust

>You forge a sword only ever capable of hurting a dragon

>Halfway there, you realize blacksmithing is too hard, so you ask for help

>Eventually, you forge a new sword at a more experienced blacksmith's house

>The sword gets stuck in an invisible wall as you get past the door

>The blacksmith tells you you have to put the sword inside a crate inside a cardboard box inside a cloth wrapping if you want to carry it with you

>You get to the dragon

>You quickly unwrap your flaming new sword

>Wait, there is no sword in here

>The world crashes

>Doesn't matter anyway because the dragon was invincible because it didn't have interior mutability.


 No.899174

>>899165

>You have C

>You forge a razor-sharp rapier

>The knight uses it to slay the dragon but accidentally stabs himself in the progress

>He throws it away and whines for the Rustsmith to make him a new one


 No.899285

> You have Rust

> Instead of slaying dragon, you recite an epic poem in the village square about how you were destined to be a hero

> The dragon gets hungry and eats everyone


 No.899304

>>899123

Coreutils and Haskell are OK. The other two are not even remotely representable.

>>899174

>rustsmith makes a new razor

>it can't cut anything because that violates immutability paradigm


 No.899312

>>899099

The COBOL one is pretty funny


 No.899345

>>899099

Haskell is hilarious


 No.899371

File: 32e1b2a53071dd6⋯.jpg (28.6 KB, 640x480, 4:3, python.jpg)


 No.899384

>you have awk

>you switch the dragon for the princess


 No.899424

>>899099

This may be pajeet shit but I can't help but like it a bit


 No.899660

File: 555980ac9142f0c⋯.jpg (2.09 MB, 1000x5527, 1000:5527, terrible-clients-explained….jpg)


 No.899701

>>899660

Mildly chuckled.


 No.899738

File: 55559e7b3d381d9⋯.png (199.64 KB, 1199x597, 1199:597, 1399181636413.png)

File: f9d0b60e4e3df42⋯.jpg (33.85 KB, 658x307, 658:307, 1410878790901.jpg)

File: f78b16cd421c27d⋯.jpg (57.3 KB, 960x720, 4:3, 1423704608067.jpg)


 No.899751

>>898642

>forth for embedded realtime and space instruments

Do they use forth for historical reasons in those areas (especially anything space/astronomics)? How is it better than C for those? It looks way harder to read, you can probably make mistakes that make C seem safe, maybe it can be a bit smaller.

Those are just assumptions, but is it really worth it in any usecase?


 No.900226

File: 63425380d61952a⋯.png (44.24 KB, 669x392, 669:392, ffsierpinski.png)

>>899751

Fotran-like languages were very well established when Forth came along, so it's hard to claim that Forth replaced for no good reason.

It offers some very unique things like: realtime (its interpreted, but still very fast), extremely compact code because it uses threaded code and very good mix of high and low level (as powerful as LISP but also closer to the metal than C). You can't just shutdown a satellite that's in orbit just to update it. Forth allows seamless realtime updates.

It's really hard to get used to concatenative languages, but they become really used to read when you get used to it and factorize your code properly. I'll admit that it's often not very easy to read another programmers code because of the reliance of Forth on good vocabulary and personal conventions, but that can be fixed.

The code I'm posting here really isn't that well formatted, mostly because I like to keep my code compact since I'm not working with anyone else.


 No.901065

>>899028

>"spake" is a Nietzsche invention

It's used everywhere in English translations of the Bible you dunce. I know that and I'm neither a native English speaker nor a Christian. That's where the Nietzche's book title come from, and it's not even from Nietzche, it's from the people who translated it to English, as the original title is "Also spracht Zarathustra."


 No.901113

>>901065

It's just archaic english, that's all. But the book title I pointed to is pretty well-known, to the point of being a meme. And we don't all read the bible, much less in english or a specific translation thererof.


 No.901134

>>899099

Thank fucking god Coffeescript died.


 No.901160

>>901065

>spracht


 No.901166

File: 76c05a98302c05c⋯.webm (496.58 KB, 1280x720, 16:9, Listen_To_This_Song_While….webm)

>le object oriented programming is bad!

>but let lisp is the greatest language ever!!!!!

this is /tech/


 No.901174

File: 19185f0219104d8⋯.png (98.3 KB, 400x400, 1:1, 19185f0219104d8f0446e53fb0….png)

>>901113

>And we don't all read the bible

>but Nietzsche


 No.901181

>>901166

Your point?


 No.901201

>>901181

lisp is an object oriented programming language. /tech/ doesnt like object oriented programming languages, yet they like lisp. see the issue?


 No.901226

>>901201

Common Lisp has a system for object-oriented programming you can use if you want to. Lisp as a language family is not object-oriented.

Love of Lisp and hate of object-oriented programming are very subdued on /tech/ in the first place.


 No.901392

>>901201

I would argue Lisp does OOP right


 No.901421

>>901201

lisp is a functional programming language though


 No.901422

>>901421

Most lisps are not very functional. They use tons of state, build up mutable object systems, have side effects, etc.


 No.901433

>>901422

The only side effect of purity is that you become a useless faggot.


 No.901447

>>901433

t. lispcuck


 No.901532

>>901421

It's not.


 No.901611

Anyone here actually using windows 10?




[Return][Go to top][Catalog][Nerve Center][Cancer][Post a Reply]
Delete Post [ ]
[]
[ / / / / / / / / / / / / / ] [ dir / arepa / ausneets / cyoa / girltalk / htg / leftpol / tacos / voat ]