Search found 19 matches

by MyK_00L
April 20th, 2020, 7:09 am
Forum: Everything
Topic: C++ port of Doom from C
Replies: 11
Views: 6474

Re: C++ port of Doom from C

Well, the functional side of Rust pretty much boils down to functions on iterators, and they are optimized really well, as https://doc.rust-lang.org/book/ch13-04-performance.html suggests it pretty much compiles to the same stuff you would write iteratively. And iterators evaluate stuff lazily, whic...
by MyK_00L
April 18th, 2020, 7:50 pm
Forum: Everything
Topic: C++ port of Doom from C
Replies: 11
Views: 6474

Re: C++ port of Doom from C

The cool thing is that it does all this stuff compile time and guarantees that your code is not going to do bad stuff with memory, which means rust code without unsafes cannot be exploited. Also I really like the functional side, with lazy functions on iterators, and matches. The package system IS a...
by MyK_00L
April 14th, 2020, 9:01 am
Forum: Everything
Topic: C++ port of Doom from C
Replies: 11
Views: 6474

Re: C++ port of Doom from C

You should really look into Rust, it took me a while to get used to it, but now I really like it.
Unfortunatelly it sucks for competitive programming so i still use C++ for that.
Still, I think C and C++ are better for educational purposes.
by MyK_00L
July 31st, 2018, 1:25 pm
Forum: Everything
Topic: LNK2019 Unresolved External Symbol
Replies: 4
Views: 2080

Re: LNK2019 Unresolved External Symbol

The "inline" keyword forces the compiler to inline the function. That means the body of the function will be essentially copied where you call it. This way during runtime there will be no actual function call, which can speed up the execution. Usually the compiler understands when to inline a functi...
by MyK_00L
July 30th, 2018, 12:06 pm
Forum: Everything
Topic: Android
Replies: 12
Views: 13171

Re: Android

I just saw what typescript is.
It seems quite useful, although in the end it compiles to js.
I hope in the future they will make a good scripting language to replace js and that it will get replaced.
I'll go keep dreming.
by MyK_00L
July 30th, 2018, 7:35 am
Forum: Everything
Topic: Android
Replies: 12
Views: 13171

Re: Android

I tried using Android Studio at first, but it was too heavy for my pc. Now I am using Cordova in visual studio. If you'd like your app to be cross-platform I think visual studio is the best. Also it seems like vs also supports mobile development with c++, haven't really tried it out though. If you w...
by MyK_00L
July 27th, 2018, 2:50 pm
Forum: Everything
Topic: Treaps visualizer
Replies: 2
Views: 2922

Re: Treaps visualizer

Interesting, never really knew about 'treaps' had to google it. Seems interesting, like an alternative to balanced trees maybe. Treaps are balanced trees :) The difference from other balanced trees are: treaps are randomized treaps can do alot of things: insert, erase, rotate a subsequence, split i...
by MyK_00L
July 27th, 2018, 12:33 pm
Forum: Everything
Topic: No https?
Replies: 5
Views: 2142

Re: No https?

Yeah, it's not like it's really needed, I just like having the little green lock besides the address.
Plus if https is supported, why not use it :) , I guess I'll just change the bookmark to have https.
by MyK_00L
July 27th, 2018, 12:17 pm
Forum: Everything
Topic: Treaps visualizer
Replies: 2
Views: 2922

Treaps visualizer

It has been quite a while since I last used the chili framework. It has been too much time. Also I just learned treaps, so I guessed I might as well make this thing. :D It's not meant to help someone learn treaps: I simply put random operations each frame depending on what key you are pressing (It's...
by MyK_00L
July 27th, 2018, 6:45 am
Forum: Everything
Topic: No https?
Replies: 5
Views: 2142

No https?

When I open the forum or the wiki from a search engine or from http://www.planetchili.net/ The site is by default using http with no ssl/tls. If I enter https myself it seems to work, thus the site supports https. I was wondering: why is it not using https by default? Not that I would know how to en...