|
By c-lang I meant Java, the best language.
|
# ? Sep 28, 2013 15:47 |
|
|
# ? Jun 6, 2024 19:09 |
|
Notorious b.s.d. posted:please tell me more about the predictable space/time complexity of malloc/free and new/delete you call malloc(1024) and you (p. much) instantly get 1 kilobyte of memory.
|
# ? Sep 28, 2013 17:13 |
|
Wheany posted:(p. much) instantly your perspective isn't the processor's
|
# ? Sep 28, 2013 17:19 |
|
hmm, yase, the memory allocation did not take 0 milliseconds, it actually took 1.
|
# ? Sep 28, 2013 22:01 |
|
i downloaded rust0.8 and it failed to run because of missing dlls. why not bundle everything in the installer? why do i have to downgrade/replace my existing mingw w64 dev environment which was a bitch to setup? why is stuff so hard? why can't everything be easy? I want to ask them this but i don't want to sound like a dick
|
# ? Sep 28, 2013 22:16 |
|
Shinku ABOOKEN posted:a dick Dsyp
|
# ? Sep 28, 2013 22:18 |
|
Wheany posted:hmm, yase, the memory allocation did not take 0 milliseconds, it actually took 1. ok so this is clearly very simple, wheany. i must be overcomplicating it what's the big O notation for that malloc?
|
# ? Sep 28, 2013 22:19 |
|
Wheany posted:hmm, yase, the memory allocation did not take 0 milliseconds, it actually took 1. yeah how could a 1ms allocation delay possibly make a difference. no program has ever allocated memory for several million objects it's not like our machines tick over once a nanosecond have billions of bytes worth of memory to play with coffeetable fucked around with this message at 22:29 on Sep 28, 2013 |
# ? Sep 28, 2013 22:25 |
|
Shinku ABOOKEN posted:i downloaded rust0.8 and it failed to run because of missing dlls. step 1: install linux step 2: it's really easy from there. why the gently caress were you trying to use windows?
|
# ? Sep 28, 2013 22:28 |
|
Notorious b.s.d. posted:step 1: install linux
|
# ? Sep 28, 2013 22:41 |
|
Shinku ABOOKEN posted:mingw w64 dev environment I will never understand why you fucktards decide that this and cygwin are good ideas instead of just using a linux vm.
|
# ? Sep 28, 2013 22:57 |
|
Hard NOP Life posted:I will never understand why you fucktards decide that this and cygwin are good ideas instead of just using a linux vm. truth. swapped from a dual-boot to virtualbox recently and wow it's easy to set up. also being able to write c# dev in visualstudio and c in ubuntu simultaneously owns (hadn't done it before b/c my previous machine was a pos)
|
# ? Sep 28, 2013 23:30 |
|
Nomnom Cookie posted:Yes. I also think that const is harmful when it encourages people to use a const list when a tuple is more appropriate, and other instances of paying attention to immutable usage rather than immutable design. immutable design is great, but sometimes i need to use a mutable datastructure while at the same time ensuring a section of code can't gently caress with it. for example, when i pass an array to a bunch of threads. i'd love to keep my fast sequential access, while at the same time making sure none of those fuckers can corrupt my data.
|
# ? Sep 28, 2013 23:49 |
|
Condiv posted:immutable design is great, but sometimes i need to use a mutable datastructure while at the same time ensuring a section of code can't gently caress with it. for example, when i pass an array to a bunch of threads. i'd love to keep my fast sequential access, while at the same time making sure none of those fuckers can corrupt my data. so define a type with the interface you want (e.g., get method but no set method) and pass that to your threads instead of the bare array, what's the big deal?
|
# ? Sep 29, 2013 01:29 |
|
FamDav posted:i wrote a white paper at old job on how we could rewrite our search algo in haskell and avoid mutability through some slight changes to our algo and taking advantage of lazy evaluation. yospos.txt
|
# ? Sep 29, 2013 01:41 |
|
i should byte the bullet and learn a c lang unfortunately java sucks, objc is useless, c#/.net doesnt play well with osx, and i cant think of anything else that isnt c++
|
# ? Sep 29, 2013 01:44 |
|
Shinku ABOOKEN posted:i downloaded rust0.8 and it failed to run because of missing dlls. It's pretty much because they all use linux or osx and it's a good day when the windows build bots don't spontaneously combust.
|
# ? Sep 29, 2013 01:46 |
|
I mean if you figure out how to make rust build+work on windows without jumping through hoops and all the mingw stuff they'll probably carry you on their shoulders through the mozilla office
|
# ? Sep 29, 2013 01:47 |
|
Pollyanna posted:yospos.txt Pollyanna posted:i should byte the bullet and learn a c lang also yr OS shouldn't be a restriction. like NOP said, grab virtualbox and run whatever os you want
|
# ? Sep 29, 2013 01:50 |
|
Pollyanna posted:i should byte the bullet and learn a c lang i forgot why does java suck and how is objc useless?
|
# ? Sep 29, 2013 01:56 |
|
Condiv posted:immutable design is great, but sometimes i need to use a mutable datastructure while at the same time ensuring a section of code can't gently caress with it. for example, when i pass an array to a bunch of threads. i'd love to keep my fast sequential access, while at the same time making sure none of those fuckers can corrupt my data. you do realize that passing around a normal array that you are mutating from one thread to a bunch of consumers may summon nasal demons, right?
|
# ? Sep 29, 2013 01:59 |
|
Pollyanna posted:i should byte the bullet and learn a c lang what about c
|
# ? Sep 29, 2013 02:00 |
|
Pollyanna posted:i should byte the bullet and learn a c lang learn rust
|
# ? Sep 29, 2013 02:01 |
|
MeramJert posted:learn rust if you're gonna choose a niche language to learn, haskell or bust
|
# ? Sep 29, 2013 02:02 |
|
and then you can learn rust again at the next point release that's two c langs!
|
# ? Sep 29, 2013 02:03 |
objc is cool + good. the hard part is how freakin large the cocoa libs are.
|
|
# ? Sep 29, 2013 02:09 |
|
coffeetable posted:if you're gonna choose a niche language to learn, haskell or bust excuse me haskell isn't a c lang. besides i already know haskell and I want more people to use rust so i can know if its really as cool as it looks without learning it yet myself
|
# ? Sep 29, 2013 02:19 |
|
learn scala its like java but with more kitchen sinks
|
# ? Sep 29, 2013 02:24 |
|
gucci void main posted:objc is cool + good. the hard part is how freakin large the cocoa libs are. uG posted:i forgot why does java suck and how is objc useless? the problem as i was told is that objc is tied to apple architecture and apple itself, so it'd be a repeat of the 90s or something (i dont know what that means. i'm 8/15/1990) like...yeah. objc is apple, while other languages are (ostensibly) multiplatform. also objc syntax is weird as gently caress as for java idk, i guess im just a java racist
|
# ? Sep 29, 2013 02:31 |
|
Pollyanna posted:i'm 8/15/1990 didn't you just start learning python? get good at that.
|
# ? Sep 29, 2013 02:39 |
|
java, c, and c++ are all terrible in their own ways, but also really good in their own ways. learn ada imo
|
# ? Sep 29, 2013 02:48 |
|
ada is your go-to language for blowing up french rockets
|
# ? Sep 29, 2013 02:48 |
|
fidel sarcastro posted:
i'm already 23 :/ and yeah ill stick with it
|
# ? Sep 29, 2013 03:02 |
|
Pollyanna posted:i'm already 23 :/ lollin' got plenty of time ahead of you yet. if you've an ounce of self-awareness and a drive to improve your skills, in no time you'll "overtake" people who have been programming for years. and that aside, it's really not a competition. there is far, far more demand for software ppl than there is supply. just write programs that stretch you and read the work of programmers better than you. that's all you need to do. don't worry about what language it's all in, practice in one will readily transfer to another. coffeetable fucked around with this message at 03:18 on Sep 29, 2013 |
# ? Sep 29, 2013 03:14 |
if ur 23 then ur a scrublord lmao im 24 and im as big of a scrub as it gets
|
|
# ? Sep 29, 2013 03:25 |
|
Pollyanna posted:i'm already 23 :/ python is good when you are learning. i see you are trying to write a gui in kivy for a script you wrote. go download pycharm, get a github account, and browse the code of people who implemented an input view and output view w/ stock charts and what not. welcome to the post-documentation world of learning through inference salisbury shake fucked around with this message at 03:32 on Sep 29, 2013 |
# ? Sep 29, 2013 03:28 |
|
Pollyanna posted:the problem as i was told is that objc is tied to apple architecture and apple itself, so it'd be a repeat of the 90s or something (i dont know what that means. i'm 8/15/1990) learn haskell or clojure it's a fun+cool language with an optional type system!
|
# ? Sep 29, 2013 03:53 |
|
malcolm, you graduated from oxford or something this summer, right? you land in a haskell job?
|
# ? Sep 29, 2013 03:57 |
don't learn any programming language, they are all loving abominable. srsly save urself the effort for doing actually cool stuff like screwing girls or smth
|
|
# ? Sep 29, 2013 03:59 |
|
|
# ? Jun 6, 2024 19:09 |
|
coffeetable posted:malcolm, you graduated from oxford or something this summer, right? you land in a haskell job? i wish. job is v haskell friendly though which is a plus but most of the codebase is C#
|
# ? Sep 29, 2013 04:03 |