/dpt/ — Daily Programming Thread

What are you working on, Any Forums?

Previous thread:

Attached: larping.jpg (2000x1500, 424.08K)

Other urls found in this thread:

github.com/Kindelia/HVM
github.com/friendlyanon/cmake-init
en.cppreference.com/w/cpp/algorithm/transform
vault/pub/cmake-init
twitter.com/SFWRedditGifs

How does HVM manage to be so much faster than GHC, /dpt/?

github.com/Kindelia/HVM

Reminding anons to use github.com/friendlyanon/cmake-init when creating new C++ and C projects!

>parallel specialized runtime beats single threaded generalized runtime on small benchmarks
No shit

What's the time complexity of std::transform, std::reduce and std::transform_reduce. Isn't it O(n)?

en.cppreference.com/w/cpp/algorithm/transform
RTFM

what else would it be?

Can you read it for me then?

It could instead have been O(x*n) where n is the distance between the iterators and x is the complexity of the operator

use a real git host, retard. not clicking on that trash

>come back from break after three weeks
>looking at screen gives me headche and my eyes starts to bleed
wtf happened to me? I'm serious contemplating opening a chicken farm.

Here: vault/pub/cmake-init

yeah that would be more precise. For higher order functions like this the time complexity is usually given as 'number of applications of the supplied function', since the function could have arbitrary complexity.

let me guess, 1080p 60Hz?

nope, double that

Get your eyes checked, you could be longsighted and your eyes are straining to focus on objects close to you.

I don't think so!
I thinks it's because of high resolution that my eyes are bleeding.

>I thinks it's because of high resolution that my eyes are bleeding.
Then you're a fucking retard. Enjoy your deteriorating eyesight

Fuck, I might get it checked then.
But I bought my old monitor(low resolution and dim light) back this morning and it's been pretty comfy so far.
Any thoughts on that?

Maybe your new one is too bright? Have you tried something like f.lux?

High resolution in no way causes your eyes to strain unless you're using like a 27" monitor at native 4k resolution with no scaling.

I have a 38" 3840x1600 monitor w/ no scaling and my eyes are cozy af, I also use f.lux/nightshift/whatever for extra comfy at night

>integrating c library into project
>hanging on initialization
>find function where it hangs
>write a bunch of printf("nigs\n"); lines to find exactly where the fail is
>program runs fine
>remove the printf lines
>fails again

Attached: images.jpg (478x641, 20.68K)

Hahaha so le funny le nig word hehe

...

It's a useful data point and would only filter durgasofters