/dpt/ - Daily Programming Thread

Previous thread: What are you working on, Sup Forums?

Other urls found in this thread:

microsoft.com/en-us/research/publication/implementing-algebraic-effects-c/#
microsoft.com/en-us/research/publication/implementing-algebraic-effects-c/
ddili.org/ders/d.en/index.html
golang-book.com
twitter.com/NSFWRedditVideo

Lisp is the most powerful programming language.

FIRST FOR TRAPS!

Sup Forums, why aren't you using algebraic effects in C?

microsoft.com/en-us/research/publication/implementing-algebraic-effects-c/#

We are making a web browser! Come and join the team on irc.

>join the mentally ill on irc
no thanks

...

>learn assembly they said
>it'll be fun they said
>segfault segfault segfault segfault segfault segfault segfault segfault

t. nodev

>not one actual commit
kek this is the power of Sup Forums

fuck off

schway

MAKE ME, FAGGOT!

>fork link2
>A License
>And a fucking readme
>"We are making a web browser!"

not portable

>We describe a full implementation of algebraic effects and handlers as a
library in standard and portable C99
>standard and portable C99

>C99
not portable

>c99
>portable

>C99
>portable
top fucking kek

>c99

stop using MSVC

i can't they've glued me to the chair

>microsoft.com/en-us/research/publication/implementing-algebraic-effects-c/
>portable C99
>stop using MSVC
wew laddie

How can you trust Microsoft to anything right if they can't even support C which should be the easiest language to implement?

>MSVC
It works perfectly.

They do support C89.

Not really. fopen and fclose are not totally supported, the current implementation is buggy.

they don't support C

Honestly I get more segfaults with C than assembly.

C89 is the only C that matters

>fopen and fclose are not totally supported
good. they shouldn't exist at all.

Seeking advice. I'm working on a cli todo list application but need a way to delete entries from a text file. Would the easiest way to simply prompt the user to enter the full entry?

Why?

>he doesn't know
lol

Are you single? Do you want to marry me?

Ho now I see why I shouldn't use fopen and fclose. Thank for the enlightenment.

C99 is BAD

>a cli todo list application bu
BI on oracle

>claims c99 is bad
>continues to program in nodejs and c++
dumb millenial.

VLAs are not evil.

...

>tfw you only release 64-bit binaries to piss off the dumb poorfags

how do I go about understanding g++'s STL implementations. I read what en.cppreference.com has to say but it doesn't have much towards any actual implementations. I'm reading the code but good lord it's barely legible. I understand how to use the containers well already.

maybe I need to start with understanding STL iterator usage?

idk any help

>tfw they open an issue about it but you tell them to get a job and close it

best not to ask

STL in most implementations is impenetrable wizardry. Better not to peek under the hood.

Write your version first and try to link your programs to it. You'll understand a lot.

kek

Learning programming here. What resources did you use to learn? What was the first project you made?
I have ideas, but once I begin I end up not knowing what I'm supposed to do and feel I'm getting ahead of myself.

living the dream, user

no u

a book and the langs docs
a shitty game

#define or enum?

How proficient would you say you are now?

uninstall c

enum

what's the best way to write simple extensions to STL classes then, just inherit from them and write your function? do I need to make copy/move/destr all over again

A python web scrapper designed to find information on people using social media sites to prove a point to the mindless sheep that social media is dangerous and also to freak people out

free functions

need operator overloads tho

Good enough to manage on my own.
If i ever finish the book id probably feel competent enough to apply for a wagie job.

They can be free functions too.

No write from scratch. Just bind yourself to posix.

>online the easiest part is making a logo and no one wants to program
>in reality the programming is done and the logo is still just a blank document in illustrator
the temptation to just make it a dick is real

reminder that if you release code under the GPL i am going to steal your code and put it in my proprietary software, and you will never know or be able to do anything about it

Name of the book?

ddili.org/ders/d.en/index.html

there is literally nothing wrong with node.js

Why would you put HTTP:// in the title of your book?

jokes on you my code is shit

oh hey i already do this

It's the Go book:
golang-book.com

Imposter

Good for you

Back to work Rob

>not including botnet in all libraries you distribute

Oh dang you got me what ever will I do, code I released to be shared has been... Shared.

Oh what a world.

double the botnet double the fun

GPL isn't about sharing, it's a viral license designed to restrict freedom.

yes, GPL is about restricting you from taking my effort and using my code without giving credit or sharing back with my and your/my users

I do it anyways qt

WHY DID I LEARN C INSTEAD OF C++? FUCK I'M SO STUPID.

too bad that doesn't stop me

unlearn c and learn sepples now

Does anyone know how to get clion to actually show me the values in an array fashion when using pointers? Right now I only get the correct behavior for static arrays.

I don't see why it's giving me the wrong floating point values for when I cast it as a 3 slot array.

Learn C++ now. You'd just fuck it up if you didn't know C.

you have to learn C before learning C++, though. you don't need to, but it's the best way

you wouldn't believe how many people would critize you for saying this

/dpt/ should I go for Italian, Chinese, or Japanese food tonight?

This is immoral and toxic behavior. I will kindly ask you to cease and desist in continuing this malicious act.

I see where they're coming from, but they're wrong.
They want you to colour within the lines, do everything the new and safe way. That's fine to do in general, but it's incorrect for learning learn. As soon as you tread off the beaten path you're in unsafe C territory, and then you're totally fucked.
Not to mention the fact that you really won't understand what your code will compile down to.

all garbage

Chinese

buy japanese ramen because us coders amirite? XD

>C cucks are still using their cuck C89 in their cuck MSVC compiler
>Meanwhile I'm here using my comfy C++17
Lmao. Fucking blubs to the absolute max, they don't even use C11 like they should.

long time;

hheheehehehehehe

Why do so many people here shill C?

No, it's not wizardry, it's just advanced C++.
You can learn it if you're not retarded.

sucky-sucky fucky-fucky xD

"Advanced C++" is retarded
Get a real type system

name a POOlang with a better type system

Why would you want a poolang?
What the fuck.
Scat isn't something to be proud of user.