[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/sci/ - Science & Math


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


I'm currently learning rust, any rustaceans here on sci?
>>
>>16923817
gb2>>>/g/
>>
>>
>>16923817
> i32 not u32
crabs can have -1 arms and legs?
>>
File: file.png (30 KB, 201x301)
30 KB
30 KB PNG
>>16923817
If the species don't generate or take external output, you could put them in a single static array. Then store only a single byte offset (by enum) in the struct instance itself, or a pointer, rather than a whole string duplicated across all instances. If your species count is high enough and distributed evenly across most of the alphabet you can use a switch statement to make it generate a jump table where you only check the first letter. Rather than calling the function every time for each potential match and duplicating work. This also solves call vs inline decisions in the checking function.
>>
>>16923883
no perl?
>>
>>16923817
None of those are species.
>>
you dropped your gay card, op
>>
>>16923817
I wonder how Rustranny spam (obviously inorganic) relates to the rest of the absolute cancer seen here.
>>
>>16924534
this is I think the third I've seen here this month, imagine how bad /g/ is
but threads now last 6 days instead of one...
Just how bad was the board botted?
>>
>>16923817
Why are you learning it? There's truly no reason to unless you're needing to save CPU cycles in some low level shit, in which case you'd be advanced enough to not ask about it on 4chan
>>
>>16923883
no ada?
>>
>>16924686
Not botted... more like jeeted........
>>
>>16924686
Also the situation is extremely grim in /g/, it's either mudslime ai coomer or shitjeet twitter screencap posting the same shit over and over again. Neither of them can speak proper English btw.
>>
>>16923883
Should Ruby have all the onions text be in Japanese?



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

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.