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

>https://lettier.github.io/posts/20 17-08-30-haskell-gtk-

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: 24
Thread images: 5

File: p0iq5HB8.jpg (7KB, 240x240px) Image search: [Google]
p0iq5HB8.jpg
7KB, 240x240px
>https://lettier.github.io/posts/2017-08-30-haskell-gtk-video-player.html
Why does Haskell need 50 MB RAM to run?
>>
>>62231613
https://lettier.github.io/posts/2016-08-15-making-movie-monad.html

> Under the hood, the application uses the Electron framework which in turn uses Chromium and Node.js. Using only HTML, CSS, and JavaScript, you can use Electron to develop a desktop application. The nice part about Movie Monad, however, is that we will create the HTML, CSS, and JavaScript using Haskell.
>>
>>62231927
This is a nightmare.
>>
File: IMG_20170903_164421.jpg (128KB, 1242x1280px) Image search: [Google]
IMG_20170903_164421.jpg
128KB, 1242x1280px
>>62231927
The electron meme is really getting out of hand
>>
>>62231613
hah, if >>62231927 stumps you, observe the RAM requirements of ghc itself

Anyway, it went from one shit tier technology to the next.
>>
>>62232192
ghc is a compiler. It makes sense it would have high ram usage.
>>
>>62232301
>ghc is a compiler. It makes sense it would have high ram usage.
To a certain extend.
But we are talking about couples of GB for trivial some-k line software thanks to lazy evaluation.
>>
File: HAHA.jpg (22KB, 453x500px) Image search: [Google]
HAHA.jpg
22KB, 453x500px
>>62231927
>The nice part about Movie Monad
>nice
can't make that shit up
>>
File: 1498007355959.jpg (15KB, 480x480px) Image search: [Google]
1498007355959.jpg
15KB, 480x480px
>>62233333
WEW
>>
>>62233333
check'd
>>
>>62233333
Nice
>>
>>62233333
I feel lied to, cheated, and defiled
>>
so is haskell /ourlang/ or not? because I don't know if I should fall for this meme
>>
>>62234256
It's a nice entry point if you want to get into the functional programming and computational logic field.
Don't use it for everything though.
>>
>>62231613
50mb doesn't sound like that big of a runtime if you ask me.
>>
GHC is great if you use the -O2 flag and turn on LLVM, and if you know how to make a program properly in haskell.

Protip: The kind of haskell you regularly see on the internet is shit-tier, good haskell requires practice but pays off well.

>>62234736
>t. winfag
>>
Slow language.
But still most enjoyable language to program. Specially if you care about abstraction / category teory
>>
>>62234993
>Slow language.
citation needed
>>
>>62231927
Read the fucking link in the OP. The post is about rewriting the Electron version in Gtk, which reduces the RAM consumption from 300MB to 50.

>>62234898
>and if you know how to make a program properly in haskell.

Experts will still cause space leaks. Haskell is deprecated.
>>
>>62231927
electron is pure cancer, my OS just freezes when ever i start Atom, im running fucking emcas all day long it even starts at boot up and that shit never happened with it
>>
>>62237022
electron is great, especially vscode
>>
>>62231613
Haskell is not suitable for GUIs. Even FRP frameworks haven't made it any less painful and it's the cleanest abstraction found yet.
>>
>>62237022
atom: everything is a browser
>>
File: bateman1.webm (3MB, 1600x800px) Image search: [Google]
bateman1.webm
3MB, 1600x800px
>>62233333
Thread posts: 24
Thread images: 5


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