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

/dpt/ - Daily Programming Thread

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: 366
Thread images: 41

File: languages3.png (17KB, 522x384px) Image search: [Google]
languages3.png
17KB, 522x384px
What are you working on, /g/?

Old thread: >>60485029
>>
First for C is a miracle of this universe.
>>
coding an algorithm to get my pecker into your mums pussy
>>
Can't spell cuck without C
>>
>>60490315
Lisp is the most powerful anime-complete programming language.
>>
File: 1476318606361.jpg (272KB, 800x600px) Image search: [Google]
1476318606361.jpg
272KB, 800x600px
OOP is better for simple-minded people.
>>
File: old_hag_langs.png (173KB, 600x355px) Image search: [Google]
old_hag_langs.png
173KB, 600x355px
>>60490323
>>
File: dlang_chan.jpg (139KB, 470x545px) Image search: [Google]
dlang_chan.jpg
139KB, 470x545px
Threadly reminder that dlang-chan is not dead; she's going to have her GC tumor removed (eventually); and she's super duper cute and easy to prototype in! Say something nice about her, /dpt/!!!
>>
you're not a serious programmer if your keyboard is not mechanical

https://www.youtube.com/watch?v=qHAFpK-0hug
>>
File: 1494513754905.jpg (55KB, 594x396px) Image search: [Google]
1494513754905.jpg
55KB, 594x396px
>>60490315
Writing a theorem prover in Lisp.
>>
File: Kinesis-Freestyle2-for-PC-9.jpg (26KB, 510x344px) Image search: [Google]
Kinesis-Freestyle2-for-PC-9.jpg
26KB, 510x344px
>>60490353
My keyboard is split, come at me.
>>
hail C/C++/Python/Java/JS
anime fags btfo
>>
>>60490353
nah, it more of a "geek" thing
good programmers don't give a shit about keyboards

saying that, I do own a retardedly expensive Das Keyboard S
>>
>>60490315
im working on a didactic spatial discombobulator that recursively indexes real-time probabilistic sinusoidal data
>>
>>60490315
>hasklel
>fast development
gud 1
>>
File: 617-bjarne_landscape.jpg (79KB, 630x303px) Image search: [Google]
617-bjarne_landscape.jpg
79KB, 630x303px
>>60490379
>good programmers don't give a shit about keyboards
that's where you're wrong kiddo
>>
>>60490390
Is that in layer 5 or layer 6 of the Deep Web?
>>
>>60490396
>good programmers
>>
>>60490402
>programmers
>>
>>60490410
>
>>
>>60490410
>coders
>>
>>60490423
>>
>
>>
File: sss.jpg (81KB, 601x375px) Image search: [Google]
sss.jpg
81KB, 601x375px
Where do I find leads for my general purpose pajeet bodyshop?
>>
What's the best way to learn how to code?
>>
But Go has both good performance and fast development?
>>
>>60490443
Learn Lisp.
>>
>>60490443
Enlist with Klossy
>>
>>60489417
It controls the linkage of those functions on winblows.

#if defined(LUA_BUILD_AS_DLL)
#if defined(LUA_CORE) || defined(LUA_LIB)
#define LUA_API __declspec(dllexport)
#else
#define LUA_API __declspec(dllimport)
#endif
#else
#define LUA_API extern
#endif


l2ide

>>60490443
break shit and fix it yourself.
>>
>>60490443
start with assembly or soldering hardware, work your way up from there
>>
>>60490454
I want to learn how to code, not how to kode.
>>
>>60490353
Mech keyboards are memes, the new microsoft sculpt is objectively better(less key travel distance, less key actuation force, ergonomic split, ergonomic tilt.
>>
>>60490445
>good performance
>with a GC
No

>fast development
>without generics
No
>>
>>60490466
They're the same thing.
Do you want to learn how to PROGRAM? Is that what you mean?
>>
>>60490477
>memes
>>>/v/
>>
>>60490443
Begin with breaking German encryption, and go from there
>>
>>60490445
you misspelled rust
>>
>>60490486
http://benchmarksgame.alioth.debian.org/u64q/compare.php?lang=go&lang2=gpp

Until you start running into C-bindings it's incredibly fast, and it's GC is insanely good at its job.
>>
>>60490491
I already know how to program. I want to learn how to code, that's where the money is these days.
>>
File: xs2P3Ar.png (606KB, 972x551px) Image search: [Google]
xs2P3Ar.png
606KB, 972x551px
>>60490402
does geohot count?
>>
>>60490443
gotta learn the fundamentals from assembling mechanical calculators
>>
>>60490315
OOP is the best shit capitalism ever made.
>>
>>60490505
You're going to have to elaborate here
>>
File: 1464315477104.jpg (41KB, 551x720px) Image search: [Google]
1464315477104.jpg
41KB, 551x720px
Can anyone explain what this piece of program is doing? Looks too cluttered and ugly for me to concentrate

#include <iostream>
#include <sstream>
#include <algorithm>
#include <iterator>
#include <vector>

using namespace std;

int main (int argc, char **argv)
{
string line;

while (getline(cin, line))
{
istringstream ss(line);
vector<string> words(istream_iterator<string>{ss}, istream_iterator<string>());
copy_if(words.rbegin(), words.rend(), ostream_iterator<string>(cout, " "), [i=0](auto w) mutable { return i++ % 2 == 0; });
cout << '\n';
}
}


I think the sepples fag was asked to write a program that does this:
>>60489801
>>60489872


But apparently the sepples fag's program fails to do so
>>
>>60490504
>more than twice as slow as C++ on most of the benchmarks
Proving that Go has shit performance. Even OCaml and SBCL beat Go on some benchmarks.

https://benchmarksgame.alioth.debian.org/u64q/compare.php?lang=ocaml&lang2=go

https://benchmarksgame.alioth.debian.org/u64q/compare.php?lang=sbcl&lang2=go
>>
>>60490529
Programming is all the old-fashioned COBOL and Java stuff, coding is the new, in-demand, online web stuff.
>>
File: safe_image.gif (317KB, 540x380px) Image search: [Google]
safe_image.gif
317KB, 540x380px
>>60490535
>>>60489801
>>>60489872
Can't C++ fags write readable code?
import std.stdio;

void main()
{
string read = readln;
bool write = true;
foreach(index, character; read.dup.reverse)
{
if (write)
{
character.write;
}
write = !write;
}
writeln;
main();
}
>>
memes
>>
>>60490512
>sitting right next to a water heater
https://www.youtube.com/watch?v=Cv178a60Ypg
>>
>>60490585
>>>/v/
>>
>>60490512
He's a hacker. He hasn't done anything that qualifies him as a "good programmer".
>>
>>60490571
So you want to become a web dev?

Pick up Javascript and immerse yourself in the circlejerk
>>
>>60490598
b-but muh self driving cars
>>
>>60490617
I've tried, but using JavaScript feels like working in a shit factory. Surely there must be another way in?
>>
>>60490632
Just write in your favorite language and use a JS converter.
>>
>>60490632
AHAHAHAHAHAHAHAHAHAHA
>>
>>60490662
I don't understand.
>>
>>60490666
faggot ass
>>
How can I access a character in a string in Rust in O(1) time?
>>
>>60490632
Try taking some time to unironically learn it, modern js is not nearly as bad as it was
>>
How can I write inline ASM in trashkell?
>>
>>60490706
You can't. It's only possible in O(-10) time.
>>
>>60490721
Use the ASM monad.
>>
>>60490721
use the inline-c package
>>
>>60490617
>>60490632
>>60490720
>>>/g/wdg/
Fuck off back to your containment thread.
>>
>>60490741
That's not haskell, that's C
>>60490728
>The ASM Object
ok
>>
>>60490343
b-but what about cobol?
>>
>>60490706
string.clone().unwrap().getChar(i).unwrap();
>>
>>60490722
This just in: Rust is such a good language that it gives you output before you even run the program.
>>
>tfw your language is slower than python
>>
>>60490763
slow and steady wins the race
>>
>>60490753
>how do i do inline asm in C
>that's not C, that's asm

???
>>
File: 1495073798020.png (1MB, 790x960px) Image search: [Google]
1495073798020.png
1MB, 790x960px
>>60490763
>>
>>60490763
Kek
>>
>>60490774
Slow and steady doesn't finish the race
>>
>>60490763
>tfw your language is too slow to generate 6GB/s of garbage
>>
>>60490797
Yes it does. Blowing up with a runtime type error doesn't.
>>
>>60490780
>how do i do inline asm in C
>>that's not C, that's asm
Yes, I told you to do inline asm, which you can do in C. I never told you to do inline-C.

Are shitkell "users" mentally disabled?
>>
>>60490745
Now that node.js exists, js is not webdev so I'll stay
>>
>>60490814
But it does blow up with the power of 6GB/s garbage production
>>
>>60490817
You use the inline-c package to do inline c to do inline asm.
>>
>>60490822
kiss your shoes
>>
>>60490832
So you can't do inline ASM in trashkell.
Gee, I wonder why no one takes trashkell seriously
>>
>>60490774
>>
>>60490774
t. low energy cuck
>>
>>60490595
>>60490493
MODS
>>
>>60490827
Nope. All that garbage is happily collected, no problem.
>>
>>60490774
loser
>>
How do companies rollout updates for software like games on Steam? Something like xor results blobs come to mind, something like that?
>>
>>60490859
But it is not collecting the trash(kell) though
>>
>>60490443
work as a telephone operator from 1955-1970
>>
>>60490500
fuck off rustfag
>>
>>60490872
kek
>>
>after 10 hours of frantically running, fixing bugs, rerunning, fixing other bugs, the Python and C solutions are ready

>the C solution runs almost immediately, the Python solution takes a few seconds

>too bad for them that the Haskell solution took less than an hour to implement correctly and a little under ten seconds to run. no prizes for finishing second!
>>
>>60490898
MUUUUH TYPE THEORY
>>
>>60490898
you're just a terrible programmer who is a bit less shit in haskell or you learned from your mistakes in python and C how to implement the solution quicker in haskell
>>
>>60490935
You sound upset.
>>
>>60490929
>>60490935
Caution! The poster you are replying to has been infected by the "strong static typing" virus. It rots the brain, leaving the victim in a state of catatonia. The only form of communication they now possess is through grunts and phrases like "muh types." They will forever be unemployable, and will likely end up in a nursing home.
>>
>>60490955
I never even mentioned types in that post. What I like about Haskell is how easy it is to have the language do the grunt work for me.
>>
>>60490935
>Slower than python
It's time to end this

t. Haskell code barista
>>
>>60490955
KEK
>>
memes
>>
>>60490952
Of course I'm upset. How the fuck can someone be downset you human shitstain.
>>
>>60490720
>unironically
>>>/r/ibbit/

>>60490929
>MUUUUH
>>>/v/

>>60490955
>muh
>>>/v/

>>60490986
>KEK
>>>/v/
>>
>>60490993
>>>/trash/
>>
>>60490315
C is for cancer
>>
>>60490993
> >>>
>>>/trash/
>>
>>60490989
>memes
>>>/v/
>>
>>60490548
>on most of the benchmarks
It only starts getting bad at regex-redux, which is where Go starts using C bindings.
>>
>>60490898
you say this as if a program that *could* run in a fraction of a second taking ten seconds to run isn't wildly unacceptable in the vast majority of real-world scenarios
>>
>>60490993
>gate keeper is back
Aww
>>
>>60490315
the problem with this argument is that triangles have edges too, not just vertices
>>
>>60490841
You could write a library for that, but no, asm is not built into the language.
Similar to how actual assembly code isn't written into C, and any inline asm you write is not portable and not guaranteed to run on any machine
>>
>>60491002
>cancer
>>>/r/eddit
>>
>>60491020
>gate keeper
>>>/b/
>>
>>60491023
I can safely guarantee that no haskel program runs in anyone's machines
>>
>>60491009
Time to market is far more important.
>>
>>60491033
No :^)
>>
>>60490955
>implying you are not currently in a nursing home
>>
>:^)
>>>/v/
>>
File: 1489842602922.jpg (115KB, 699x520px) Image search: [Google]
1489842602922.jpg
115KB, 699x520px
>>60491035
>>
>>60491008
So Go's slow even when it's relying on C to do part of the work? Fuck me, what a shit language. Rob Pike has a lot to answer for.
>>
>>60490952
just stating the truth. drawing the conclusion that haskell is better because of >>60490898 is utterly retarded.
>>
>>60490993
>>60491005
>>60491030
>>60491033
> >thing
> >>>place
>>>/trash/
>>
>>60491037
if haskell reduces your time to market then why aren't there more real-world applications using it
>>
>>60491059
>Go's slow
The only thing that Go's slow around here is you
>>
>>60491060
>our competitors might have beaten us to market and gotten all the users, but at least some of our in-house processes run a bit faster than theirs!
>>
>>60491085
>real-world
What is the "real world"? Is there a fake world?
>>
>>60491085
there are
>>
>>60491086
https://benchmarksgame.alioth.debian.org/u64q/compare.php?lang=go&lang2=gcc

Are you innumerate?

>>60491085
Hard to find programmers skilled enough to use it when you're offering shit pay and worthless equity/stock options.
>>
>>60491050
kek
>>
>>60491100
>debian.org
opinion discarded
>>
haskell is shit you delusional shitters
>>
>>60491037
kek. not when you're talking about a hundred-fold performance detriment. christ, there's a limit. if this program hit a market of a million devices (not likely if it runs like shit - your competitors will do it better), think about how many CPU cycles, how much energy you are single-handedly responsible for wasting
>>
>>60491116
>evidence that contradicts him
>"i-it's not r-real!!"
>"mom, 4chan is bullying me again!!!"

>>60491126
The market has decided that energy efficiency isn't as important as being first.
>>
>>60491126
>hundred-fold
>implying the performance detriment is even constant time
>>
>>60491139
you're utterly delusional
>>
>>60491085
Because 3/10 of the time, it doesn't even work! https://benchmarksgame.alioth.debian.org/u64q/compare.php?lang=ghc&lang2=gcc
>>
>>60491122
t. mad that he failed his haskell class
>>
just learned how to parse webpages n shiet, but can't think of anything worth parsing
>>
>>60491139
>>"mom, 4chan is bullying me again!!!"
why are you greentexting your own irl speech
>>
>>60491156
t. mad that almost no companies use haskell because it's shit and he wasted his time learning a useless shit language
>>
>>60491152
If energy efficiency were important, everything would be written in C or C++, not dynamic trash.
>>
>>60491166
quit being a parsehole
>>
>>60491171
almost everything is written in C or C++, unless you're talking about webshit in which case you really need to fuck off to >>>/g/wdg
>>
>>60491171
>Energy efficiency is important, everything is written in C or C++, not dynamic trash.
ftfy
>>
File: 1493094989389.png (1MB, 875x1080px) Image search: [Google]
1493094989389.png
1MB, 875x1080px
>>60490315
Trying to write a program which computes whether or not a given programming language is shit.
>>
>>60491194
This is undecidable.
>>
>>60491192
Tell that to the jokers churning out Ruby, Python, and Node.
>>
>>60491178
kek

maybe make a program that downloads all the images off /g/, that'd be kinda cool
>>
>>60491194
hahaha
*SNORT*
he almost said "cumpubes"
>>
>>60491205
do you think photoshop was written in ruby? do you think linux was written in python? do you think excel was written in node?
>>
>>60491222
Where did I mention photoshop, ruby, or excel?
>>
>>60491194
return true;
>>
>>60491222
>do you think linux was written in python?
what the fuck version of linux are you running that wasn't written in python
>>
>>60491232
FUCK OFF TO >>>/g/wdg FUCKING RETARD KILL YOURSELF
>>
>>60491203
I don't think so. This program is designed to be a proof of decidability.
>>
File: untitled_2.png (51KB, 390x220px) Image search: [Google]
untitled_2.png
51KB, 390x220px
>>60491179
>>60491245
> >>>/
>>>/trash/
>>
>>60491245
seek help
>>
>>60491222
>do you think linux was written in python?
Yes. The earlier versions at least.
>>
>>60491260
says you
>>
>>60491245
>everything other than photoshop, linux, and excel is webdev
>>
>>60491258
>GNU
>>>/r/ibbit/
>>
unironically muh kek memes
>>
>>60491262
wrong
>>
>>60491262
>earlier versions
>1991
>fsf founded in 1985
you're confusing "written in python" with "written with a dead python"
>>
>>60491268
you're a fucking joke if you think using dynamic languages like javascript is common in programming outside of webdev. you're a fucking joke if you think using ruby is common at all.
>>
>>60491262
>what's a kernel
>>
>>60491291
So sad that the illiteracy rate among today's youth is so high.
>>
File: enhanced-buzz-7802-1356646761-2.jpg (84KB, 600x401px) Image search: [Google]
enhanced-buzz-7802-1356646761-2.jpg
84KB, 600x401px
>>60491272
> >>>/
>>>/trash/
>>
>>60491291
you're a fucking joke if you think i'm not getting paid $$$ to write js outside of webdev

ty based node bae
>>
>>60491299
>trash
>>>/b/
>>
>>60491291
who gives a shit how common it is, ruby is nonetheless superior
>>
>>60491309
>node not webdev
is php systems programming too
>>
File: gellar.jpg (327KB, 800x1215px) Image search: [Google]
gellar.jpg
327KB, 800x1215px
>>60491312
> >>>/
>>>/trash/
>>
>>60491298
kill yourself you fucking shitposting fucking moron. you're the one who's illiterate.

>>60491309
kill yourself san francisco fag. keep thinking you're worth your salary. keep thinking that what you're doing takes talent. keep thinking you have job security.
>>
memes
>>
>>60491156
>trashkell shitters mad no one uses trashkell even after it's shilled in his "classes"
>>
>>60491316
it can be if you want it to be
>>
>>60491338
Never change, autist.
>>
>>60491339
>memes
>>>/v/
>>
>>60491355
stay delusional, literal cocksucking faggot.
>>
>>60491139
>The market has decided that energy efficiency isn't as important as being first.
the market can change, and it will. can you really not think of anything on the horizon that could suddenly increase the demand for a high-performance, scalable version of potentially any given application or library? something that would alter the market value of processing power such that even a relatively small difference in efficiency could lead someone to pick one solution over another?
>>
File: download (2).jpg (6KB, 262x192px) Image search: [Google]
download (2).jpg
6KB, 262x192px
>>60491338
>kill yourself
>>>/trash/
>>
>>60491338
wew man
is everything alright?
>>
>>60491369
His gate keeping isn't working
>>
>>60491363
Do you always get this buttblasted by text on the internet?
>>
>>60491338
keep being a mad unemployable autist
>>
Is better to masturbate before programming session or not? I still can't quite figure it out
>>
File: Foot_on_white_background.jpg (5KB, 230x153px) Image search: [Google]
Foot_on_white_background.jpg
5KB, 230x153px
>>60491377
That's because there's now an even more autistic gatekeeper in town.
>>60491358
> >>>/
>>>/trash/
>>
>>60491393
>taking the b8
>>>/r/eddit
>>
>>60490757
Sorry never personally used or knew anyone who used cobol so I can't meme it
>>
File: i-am-leg_o_562783.jpg (68KB, 460x722px) Image search: [Google]
i-am-leg_o_562783.jpg
68KB, 460x722px
>>60491413
> >>>/
>>>/trash/
>>
>>60491413
Fuck off. You are the biggest reason why dpt is dying
>>
>>60491431
ooh ooh, can i be the second biggest reason?
>>
File: me.png (63KB, 299x384px) Image search: [Google]
me.png
63KB, 299x384px
i wish more people reported posts

/g/ is fuck*ng trash
>>
>>60491431
/dpt/ is quite alright when he is sleeping or a meaningful discussion pops up
>>
Rewriting IDA Pro in Rust.
>>
>>60491431
>dpt
>dying
kek
>>
>>60491462
>>dpt
kek
>>
>>60491469
>kek
dpt
>>
Rewriting rustc in C.
>>
>>60491498
Rewriting C in ladder logic.
>>
Should I write an object-oriented Lisp dialect that compiles to SQL?
>database = package
>table = class, but with more features
>row = object
>stored procedure = function
>single vtable indexed by class id that stores names of stored procedures
>foreign key = inheritance
>join = polymorphism
>>
>>60491521
yes
>>
>>60491521
Just use Common Lisp.
>>
Why do we have Typescript and Elm for Javascript but don't have something nice to transpile to sql
>>
memes
>>
>>60491521
>using oop at all
>translating oop to sql
>calling it compiling
>designing the api as a lisp dialect
may god have mercy on your soul
>>
>>60491552
Fix this problem if it bothers you so.
>>
>>60491216
I did one ... one AWK
>>
File: writinginjs.jpg (109KB, 640x876px) Image search: [Google]
writinginjs.jpg
109KB, 640x876px
>>60491568
I am to dum for that senpai
>>
>>60491553
>memes
>>>/v/
>>
File: legendofzelda.jpg (49KB, 400x304px) Image search: [Google]
legendofzelda.jpg
49KB, 400x304px
>>60491613
> >>>/
>>>/trash/
>>
>>60491431
/dpt/ has always been at least 75% shitposting
>>
>>60491613
>>60491553
>>60491358
>>60491339
>>60491005
>>60490989
so /dpt/, how can we get rid of the bot?
>>
>>60491620
>≥>/r/eddit
>>
>>60491613
memes
>>
>>60491627
It's at 90% now
>>
>>60491647
100%*
>>
>>60491517
Overhauling the ISA for ladder logic
>>
memes
>>
Go has good performance and fast development.

Python has fast development.
>>
>>60490333
can’t spell cuck without u

>>60490358
Good luck, that’s what the creators of Caml (and its derivates) tried to do if I remember correctly
>>
Here's an idea for a project: Write a Rust compiler that uses GCC's code generator instead of LLVM. You could even design it without a code of conduct, thus providing non-SJW competition to Mozilla. If you really wanted to be a dick, you could also create a "GNU Rust" that has extensions to the Rust language, such as higher kinded types.
>>
>>60491521
>>single vtable indexed by class id that stores names of stored procedures
For even more sparkly "hur a dur it's the same thing" magic, you should call the vtable "Method" and treat it the same as any other "class."
>>
>>60491521

>compiles to SQL
Nah, just make a domain specific language that runs SQL commands. Something like Ruby's sequel gem, but lispy.
>>
>>60491763
It could be interesting if the project is well handled, it could also fill the lacks Rust currently has
>>
>>60491455
I was going to, but I think reporting the whole thread would be better considering it's mostly composed of shitposts.
>>
>>60491763
Hi Ruby, how's the boyfriend hunt going?
>>
I bet none of you can actually prove that you are male.

Just a bunch of women, as I suspected.
>>
hi /dpt/ pls recommend an anime to inspire koding
>>
>>60491968
GiTS
>>
>>60491801

Just need the right people to want to do it.

>>60491869

I am not currently looking for any romantic partners, male or female.
>>
>>60491968
Serial Experiments Lain
>>
>>60491961

Can I? Yes. All I'd have to do is post my dick, or my bearded face. Will I? No.

>>60491968

Battle Programmer Shirase.
>>
>>60491968
Randomly pick some shoujoshit from the past decade.

>>60491979
>>60492034
He said kokding, fagboys, not "programming"
>>
>>60492057
Okay, then Sword Art Online
>>
>>60492056
Won't? More like can't.
>>
>>60492087
Now that's a good rec for koding
>>
>>60492117
Don't bully the programmer (female (male (female)))
>>
>>60491763
muh ess jay dubyas
>>
File: sheep.jpg (117KB, 1200x809px) Image search: [Google]
sheep.jpg
117KB, 1200x809px
i liek programmen n stuf
>>
>>60492130
(((girl girl) (\girl.(\girl.girl)) ((girl) girl)) male)
>>
>>60492201
I like managing programmers. I like making them work 80 hour weeks and then yelling at them when they take too long to implement things.
>>
>>60492231
I like annoying my manager by slacking and working on my side projects. He's going bald because of the stress I'm causing him.
>>
File: tardwrangler.jpg (52KB, 842x842px) Image search: [Google]
tardwrangler.jpg
52KB, 842x842px
>>60492231
"HOLD IT RIGHT THERE, BUB. THAS NOT NICE"
>>
>>60492231
>*PLBBBT*
>*PLRRRRRT*
>*FRRRRMPPT*
>*PLORP*
>*PLOP*
>*FRRRRBBBBT*
>*SPLAT*
>>
>>60492304
literal shitposting
>>
>>60490333
You can and you just did.
67 != 99
>>
>>60490333
Trips of truth
>>
>>60490504
>Until you start running into C-bindings it's incredibly fast
So it's slow all the time?
>>
What are programming socks and why do I need them?
>>
>>60492521
thigh-highs and because you're a female (female)
>>
>>60492541
But I'm a male (female).
>>
>>60492521
They're rainbow loli socks that every programmer needs because we're all secretly non-passable trans-women who cry ourselves to sleep every night as we continue to live the lie of maleness.

TL;DR: You need them to link against Qt.
>>
File: 1487735150269.png (191KB, 419x398px) Image search: [Google]
1487735150269.png
191KB, 419x398px
>>60492564
>he's not a loli who programs exclusively in lisp and C
Get out of here onii-san
>>
File: i-am-tiny-cactus.jpg (48KB, 500x357px) Image search: [Google]
i-am-tiny-cactus.jpg
48KB, 500x357px
>>60492556
>>
File: 1491609462177.jpg (136KB, 900x789px) Image search: [Google]
1491609462177.jpg
136KB, 900x789px
>>60490323
>First for C is a miracle of this universe.
>Be TA in C class at uni
>first assignment
>take name from stdin and use it in a greeting message
char name[256];
gets(name);
>>
>>60490763
This, I thought lisp was faster than Java.
I guess I bought into memes without fact checking.
>>
>>60491631
filter it
meme
>>
>>60492593
Thank you tiny cactus. ;u;
>>
>>60492633
*bleeds your cloud* nothin personell
>>
>>60491216
Why, that's literally babby tier.
>>
>>60491274
>memes
>>>/v/
>>
>>60492674
i'm a babby
>>
>>60492635
All (((functional))) programming languages are slower than python
>>
memes
>>
r8 my makefile
.RECIPEPREFIX = >
.PHONY: clean

CC := g++
CFLAGS := -c -g
LDFLAGS := -lSDL2 -lSDL2_image -lSDL2_ttf -lSDL2_mixer

PROJPATH := $(dir $(realpath $(firstword $(MAKEFILE_LIST))))
SRCDIR := $(PROJPATH)src/
OBJDIR := $(PROJPATH)bin/
DEPENDFILE := $(SRCDIR).depend
EXECUTABLE := $(OBJDIR)main

IGNORE := $(wildcard $(SRCDIR)\_*/*/*)
HEADERS := $(filter-out $(IGNORE), $(wildcard $(SRCDIR)*/*/*.h))
SOURCES := $(filter-out $(IGNORE), $(wildcard $(SRCDIR)*/*/*.cpp))
OBJECTS := $(addprefix $(OBJDIR), $(notdir $(SOURCES:.cpp=.o)))

all: $(EXECUTABLE)
main: $(EXECUTABLE)
objects: $(OBJECTS)
depend: $(DEPENDFILE)

$(EXECUTABLE): $(OBJECTS)
> @echo Linking...
> @$(CC) $(OBJECTS) $(LDFLAGS) -o $(EXECUTABLE)

-include $(DEPENDFILE)

$(DEPENDFILE): $(HEADERS) $(SOURCES)
> @echo Checking dependencies...
> @rm -f $(DEPENDFILE)
> @$(CC) -MM -I $(SRCDIR) $^ > $(DEPENDFILE)

$(OBJDIR)%.o: $(SRCDIR)*/*/%.cpp
> @echo Compiling $(strip $(subst $(SRCDIR),, $<))...
> @$(CC) $(CFLAGS) -I $(SRCDIR) $< -o $@

clean:
> @echo Cleaning up...
> @rm -f $(DEPENDFILE) $(OBJECTS) $(EXECUTABLE)
>>
>he still has to use make files
>>
>>60492687
This, Lisp is so slow.
Can't believe I bought into the meme.
>>
>>60492714
>not using .asd files
>>
File: 1485829507400.jpg (35KB, 458x465px) Image search: [Google]
1485829507400.jpg
35KB, 458x465px
>>60492701
>
CFLAGS := -c -g

>no -Wall -Werror
>>
>>60492714
CMake > Make
>>
>>60492701
>makefile
8/8 for b8
>>
>>60492701
>Year of 2017
>Writing makefiles
Get with the times, cnile cuck
>>
>>60492746
wrong, C < M
>>
File: old-hags.png (176KB, 600x309px) Image search: [Google]
old-hags.png
176KB, 600x309px
>>60490343
FTFY. If you're going for hags, go for the real hags. Both C and Pascal are like the grandchildren of old Mrs. Algol.
>>
>>60492770
>>
File: :D.jpg (35KB, 498x374px) Image search: [Google]
:D.jpg
35KB, 498x374px
>>60492785
>>
Apartment search engine using Angular.JS and Wordpress. Websockets and AJAX are fun xD
>>
What are you all working on? It's not like the majority of you guys don't even program shit, and are solely here to shitpost about which languages are 'bad', right?
>>
>>60492836
>>60492829
>>
>>60492836
Too obvious
>>
Step 1: Assume your string is ASCII
Step 2: String::as_bytes()

It's really not any different than C, it's just that Rust only requires you to explicitly state that you're assuming ASCII by calling String::as_bytes().
>>
>>60492844
I spent all day writing code, I'm not about to do more programming when I get home. I took a hot bath and did some kegels instead.
>>
>>60492868
Meant for >>60490706
>>
>>60492868
>Rust
The definition of black magic.
>>
>>60492868
Rust is verbose nonsense.
>>
>>60492874
>I'm not about to do more programming when I get home
>hot bath
>kegels
san fran transfag detected
>>
File: ran_rape.png (156KB, 387x309px) Image search: [Google]
ran_rape.png
156KB, 387x309px
>>60492775
In my headcanon Ran is C++ so Yukari has to be C.
>>
>>60492889
Your detector is broken.
>>
>>60492888
It's not nonsense. It make a lot of sense.

>>60492887
t. brainlet
>>
>>60492874
>he doesn't spare every free moment he has to programming
Guess you just don't have the drive to truly strive in the industry.
>>
>>60492848
so what, being a fag is fun :3
>>60492854
what is obvious?
>>
>>60492929
>he
>>
>>60492941
>>60492921
>>he
so a transfag

>>60492929
he's an overpaid san fran fag he doesn't even have to try... for now
>>
give me a moderately difficult ORIGINAL project idea. preferably something people would use.
>>
File: 1452808391036.jpg (19KB, 550x343px) Image search: [Google]
1452808391036.jpg
19KB, 550x343px
Rust
>make unsafe function
>wrap to make compiler think it's safe
>users assume it's safe since the compiler doesn't complain
>>
>>60492962
Research a new machine learning algorithm.
>>
>>60492962
A kernel, on your own virtual machine architecture.
>>
>>60492962
an AI tribute pic generator
>>
>>60492844
going to make game
got muh gimp
got muh lmms

workin on engine
so far it's pretty much just a stripped down and streamlined wrapper for sdl2 with sdl_image and sdl_mixer

next steps:
>implement collision calculation: rectangular vs rectangular, elliptical vs elliptical, rectangular vs elliptical; masks may be rotated
>write and deploy quadtree to actually check collisions
>write tileset class
>write game object class
>write container class for game objects that uses the quadtree and two priority queues, one for updating and one for rendering
>write glyphset class for bitmap fonts and message box graphics
>write message box class to use glyphset class
>write menu class that also uses glyphset class
>write dialogue subsystem class to maintain a queue of message boxes and menus and take priority over normal game operation whenever one needs to be onscreen
>actually start on game
>>
>>60492962
Please no meme answers like:
- make your own operating system
- design a true AI like David from Prometheus
- design your own relational database system
- make a Diablo III clone
>>
>>60492995
>2d
lel
>>
>>60492888
yeah typesafety is nonsense
>>
>>60493001
a crossdressing app
>>
I fucking hate my job. I get payed only a little more than some manual labor cuck job and I get worked to the fucking bone. On top of all that, I have to baby my retarded coworkers who are genuinely the worst programmers I've ever seen.

Don't get into software engineering as a career choice, worst decision of my entire life.
>>
>>60490315
i'm remaking embodiment of scarlet devil in rust + sdl2
>>
>>60492966
I'm not entirely proficient in Rust, but doesn't the Rust compiler require one to explicitly handle the case in which the function would cause an error / exception / whatever?
>>
>>60493021
just move to san fran you will get worshipped like a god $150k starting. do a startup and get $100M thrown in your face from meme investors
>>
>>60493005
i have 3 important reasons for not doing 3d:
1) in my experience with 3d games, the uncanny valley makes them paradoxically less immersive than otherwise equally artful 2d counterparts
2) the only free 3d software i know of is blender and my laptop doesn't have a numpad
3) what the fuck is 3d
>>
>>60493021
leave your current job, find a better paid one with better work environment
how much experience do you have, and doing what?
>>
>>60492962
>>60493001
A lean, customizable internet browser with a nice add-on system. Focus on security and speed. In other words, make a good browser, please.
>>
>>60492966

And when something does go wrong, you can look to the functions with the unsafe blocks first.
>>
>>60493026
What new (((features))) are you gonna add?
>>
>>60493026
gud. repo?
>>
>>60493045
Keep it up chuckles. Eventually I'll get at least one serious answer.
>>
>>60493050
Ruby, if you're really a guy, does that mean you have to keep taking breaks from work to do, y'know, guy stuff?
>>
new thread when?
>>
>>60493063
How is that a meme answer?
>>
>>60493063
Ok fine.
Solve P=NP
>>
>>60493064
Girls don't poop.
>>
>>60493063
>ORIGINAL project idea
>something people would use
kill yourself

if someone had a decent idea they would make it themselves first so it wouldn't be original any more or they wouldn't just give it to you since you'll botch the execution of the idea
>>
>>60493072
Tomorrow
>>
>>60493086
I wasn't talking about pooping!
>>
>>60493086
I've watched enough japanese porn to know that statement is false.
>>
>>60493099
Then what could you possibly be talking about then?
>>
>>60493118
The other guy activity! You know, the one they need lots of tissues for.
>>
>>60493132
why do you want to know his fapping habits
>>
>>60493132
Blowing your nose?
>>
>>60493144
To know if Ruby is really a guy.
>>
File: 16298607.jpg (17KB, 317x379px) Image search: [Google]
16298607.jpg
17KB, 317x379px
>>60493132
>>
>>60492962
a network-enabled bootloader
if it can't find an os on your hard drive it prompts you to pick an installer iso from a list to download from the internet and boot
>>
Is there any programming attire more comfy than cotton thigh high socks?
>>
>>60493064
>>60493132
>>60493150

Unless I am working into the night, I don't take time off of work to do this.
>>
New thread: >>60493195
>>
>>60493112
Silly, they're just puking out their behinds.
>>
>>60493184
onesie pajama
>>
>>60493155
no idea how difficult that would be, but sounds interesting. thanks
>>
>>60493192
So you're a girl?
>>
>>60493198
Dumb frogposter.
>>
>>60493184
the snuggie
>>
>>60493209
Yeah, he must be.

>>60493192
Why are you still lying, sweetie? We're all female here. There's nothing wrong with it.
>>
>>60493184
Birthday suit.

>>60493209
No.

>>60493247
There are no girls on the Internet.
>>
>>60493247
>We're all female here.
i'm not
i wish i was though, masculinity is just so not my thing
>>
>>60493279
You don't have to remain a wretched male forever.
>>
>>60493276
I've never heard of a guy named Ruby. What a preposterous concept.
>>
File: Rubyputonglasses.jpg (334KB, 480x640px) Image search: [Google]
Rubyputonglasses.jpg
334KB, 480x640px
>>60493331

Read the Pokemon Adventures comic (also known as Pokemon Special). The name Ruby comes from the male protagonist of the Ruby/Sapphire arc.

Aside from that, the name Ruby was once a more androgynous name, and was typically a nickname for men named Reuben.
>>
>>60493276
You're a girl when you post on /dpt/ ruby senpai
>>60493247
do you like lesbian sex?
>>
File: rubyraisedfist.jpg (352KB, 500x586px) Image search: [Google]
rubyraisedfist.jpg
352KB, 500x586px
>>60493477

I am a man everywhere that I post.
>>
>>60493531
Whatever you say pretty thing :*
>>
>>60493477
>do you like lesbian sex?
lewd!
>>
>>60493667
im sure you dont mind it though
slut
>>
>>60493696
a-anon
>>
>>60493765
l-loli chan...
>>
Hi, I am thinking of making a strategy game much like hearts of Iron III over the summer to keep my programming decent before the next semester starts. I am thinking of using C# with visual studio. Any suggestions for something else?
>>
>>60493844
use javascript with a webgl game library instead
>>
>>60493844
>making a strategy game much like hearts of Iron III
>over the summer
good luck with that

>>60493922
don't listen to this flaming queer
>>
>>60493844
[C++, Rust], SDL2, OpenGL is the only acceptable game development environment
>>
>>60492995
>write and deploy quadtree to actually check collisions
Unless you have levels with really, *really* uneven distributions of objects, quadtrees are overkill and unnecessarily heavy. In the vast majority of cases, a fixed grid for subdividing objects into is a far better option. Less complex code, and faster.
>>
>>60493045
That's a bigger project than making an operating system. Which is also the reason why all browsers suck.
>>
>>60493155
You have grub2 already.
>>
>>60493011
I know you're being ironic, but it really is, in a way. Type safety is, in the end, just an arbitrary construction which may make you happy subjectively, but it has nothing with the underlying hardware to do, and it's naïve to think that there are abstractions without downsides.
>>
>>60493933
>[C++, Rust]
You forgot C in there
>OpenGL
lol. OpenGL is as good as dead now that there is Vulkan.
>>
>>60494141
>lol. OpenGL is as good as dead now that there is Vulkan.
nicely meme'd
Thread posts: 366
Thread images: 41


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