Members in Shoutbox
None.
Shoutbox Search
Shoutbox Commands
/w [name] > Whisper
/r > Reply to last whisper /me > Marks as action Shoutbox Information
Moderators may delete any and all shouts at will.
|
Global Shoutbox
Please log in to shout.
[2014-12-16. : 10:40 pm] Moose -- D VS C++, EXECUTION SPEED ON 100 EXECUTIONS OF THE (NOT MOST EFFICIENT) SOLUTION OF PROJECT EULER 41[2014-12-16. : 10:37 pm] Moose -- When you expand (2a(b2) - c)10, you will get a term _______a7b14c3, you need to put the correct number there[2014-12-16. : 10:33 pm] Dem0n -- Write an expression for the coefficient at the term a7b14c3 in the polynomial given by (2a(b2) - c)10[2014-12-16. : 10:32 pm] Moose -- http://s12.postimg.org/m7mrufg63/my_Dinmy_PC.png I blurred out the dirty parts though :3[2014-12-16. : 10:28 pm] Moose -- My D is all over the place, I put it through my processor and into my memory.[2014-12-16. : 10:14 pm] Moose -- Hm. So I did #41 in both C++ and D using almost nearly the same code, but the D is running much faster.[2014-12-16. : 9:57 pm] Roy -- You count statements. In most languages, this means the number of semi-colons.[2014-12-16. : 9:38 pm] Moose -- Though when people count lines I'm sometimes unsure what's included or excluded. I don't count opening/closing braces on separate lines, blank lines, etc.[2014-12-16. : 9:35 pm] Sacrieur -- Someone solved problem 21 in three lines of Mathematica that took me 80 lines of C#[2014-12-16. : 9:35 pm] Moose -- SacrieurSacrieur shouted: Project Euler #48 in Mathematica: euler48[] := IntegerDigits[Total@Map[#^# &, Range[1000]]][[-10 ;; -1]] SacrieurSacrieur shouted: fucking bullshit man Now you know how I feel.[2014-12-16. : 9:34 pm] Jack -- Tiobe ranks languages by hits on google, older languages have an inherent advantage. Industry standards RIGHT NOW are C# and Java[2014-12-16. : 9:33 pm] Sacrieur -- Project Euler #48 in Mathematica: euler48[] := IntegerDigits[Total@Map[#^# &, Range[1000]]][[-10 ;; -1]][2014-12-16. : 9:32 pm] Moose -- https://msgooroo.com/GoorooTHINK/Article/16225/Programming-languages--salaries-and-demand-October-2014/17081#.VJCkrl2Vv0o http://www.sitepoint.com/best-programming-language-learn-2014-mid-year-update/ HAVE SOME LINKS[2014-12-16. : 9:31 pm] Jack -- Just scrolling through that, C# #1, Java #2, then a bunch of non-specified or other languages like Ruby[2014-12-16. : 9:30 pm] Jack -- http://www.seek.co.nz/jobs-in-information-communication-technology/developers-programmers/in-new-zealand/#dateRange=999&workType=0&industry=6281&occupation=6287&graduateSearch=false&salaryFrom=0&salaryTo=999999&salaryType=annual&advertiserID=&advertiserGroup=&keywords=&page=1&displaySuburb=&seoSuburb=&isAreaUnspecified=false&location=&area=&nation=3001&sortMode=ListedDate&searchFrom=quick&searchType=[2014-12-16. : 9:30 pm] Jack -- Haskell's pretty fun, it's quite a different way of thinking compared to imperative and OOP languages though[2014-12-16. : 9:29 pm] Moose -- There's also the folks who use J. I'm pretty sure J is constructed by arranging randomized blocks of symbols.[2014-12-16. : 9:29 pm] Sacrieur -- Like Haskell solutions that are twenty lines long are one line in Mathematica.[2014-12-16. : 9:28 pm] Sacrieur -- The real pros are the guys that do it with Mathematica one liners[2014-12-16. : 9:28 pm] Moose -- No, though judging from some the Project Euler one-liners, it's a pretty sweet language [2014-12-16. : 9:27 pm] Moose -- Or "if you spend 20 minutes less coding something that runs in 300ms instead of 30ms, you're still ahead after 4000 runs" *[2014-12-16. : 9:27 pm] Moose -- Or "if you spend 20 minutes less coding something that runs in 30ms instead of 300ms, you're still ahead after 4000 runs" |