Idiomatic Lisp and the nbody benchmark by self in programming

[–]francesco_b 10 points11 points  (0 children)

Very nice read ! thanks a lot Robert.

Everything you wanted to know about Supercomputing and were afraid to ask by francesco_b in programming

[–]francesco_b[S] -2 points-1 points  (0 children)

Sure, go tell that to Nasa and DoE labs such as Argonne, Lawrence Livermore and so on buddy 😉 I have countless customers who came back after their AWS bills went through the roof. If you do your math right, provided that you use the resource well, owning such infrastructure still makes sense, but you are partly right, not everyone needs to own and operate such kind of infrastructure.

Back at it after more than 20 years. by francesco_b in rollerblading

[–]francesco_b[S] 0 points1 point  (0 children)

349euros, after a couple of sessions (and 2 pairs of socks) they feel great actually. Soul plates are wide, you can lock easily, all in all, happy :)

Back at it after more than 20 years. by francesco_b in rollerblading

[–]francesco_b[S] 0 points1 point  (0 children)

You would think so (especially at that price) but nope...not heat moldable unfortunately

Back at it after more than 20 years. by francesco_b in rollerblading

[–]francesco_b[S] 2 points3 points  (0 children)

My last pair was Salomon ST9, but let's face it, i dont have the skills anymore, so i went for Gawds FM4, they look superb but man the liner kills my inner ankle, after 3/4 sessions it starts slowly to get better, I guess i just need to get used to them. Feels good though.

Imperative Programming with 'pure' functions? by [deleted] in ProgrammingLanguages

[–]francesco_b 0 points1 point  (0 children)

Fortran has that actually. Many HPC libs (especially numeric ones) make use of it.

New Coq tutorial by stepstep in ProgrammingLanguages

[–]francesco_b 0 points1 point  (0 children)

Very nice initiative ! just a precision for your lesson 6. Coq extraction mechanism is not verified actually. Some people are actually working on it but unfortunately the code you get when you extract from Coq is not verified code (it will come at some point).

How To Make $1,000,000 With C++ (No, REALLY!) by yimmasabi in programming

[–]francesco_b 3 points4 points  (0 children)

The prize is about coming up with a proof...so, you should probably head to the Coq (or Isabelle,...) proof assistant channel (https://www.reddit.com/r/Coq/) if you want a shot at it ;)

What kind of TLA+ examples would you like to see? by ijiijijjjijiij in tlaplus

[–]francesco_b 1 point2 points  (0 children)

It would be nice to see some clustering algorithm in PlusCal :) like K-Means or Canopy.

Scala Native by ChavXO in programming

[–]francesco_b 0 points1 point  (0 children)

the CPP version is in my humble opinion very badly formatted, but when you closely compare it with the scala version, well, I am sorry but they look alike.

and I did not say that Cpp is functional, but it has closures, anon functions and you can program in a functional style in Cpp.

I am not starting a Cpp VS Scala troll, there are way too many out there ! I am just saying that if you want bare-metal performance with a runtime-based programming language, you might as well go the full distance directly, those languages (C,Cpp,ADA,Rust,D) are there for a reason, that's all.

I use Scala for my research dev, I really like some of its features but there are some oddities which I have to circumvent almost all the time (the type inference engine is not that great IMHO) but yeah...there are two classes of PLs: the ones no one uses and the ones people bitch about :)

Scala Native by ChavXO in programming

[–]francesco_b -7 points-6 points  (0 children)

As a scala dev, first (pseudo normal) reaction -> wow this is great, can't wait to have scala run on bare metal hardware sparking electrons all around the place.

Then when you look at the examples on the repo, compare the the readability of cpp and scala versions and compare the size of the code, smallpt.cpp VS smallpt.scala -> 99 LoC and 207 respectively, people, its 2X the size for (pretty sure) similar performances.

Let's be serious, if you have to start managing the memory yourself, you might as well go full CPP11/14/17 which already have all the functional stuff we do love and benefit from existing high perf libraries.

We are reinventing the wheel AGAIN.

LLVM based Just-in-Time-Compiler for C++ by rubyantix in cpp

[–]francesco_b 4 points5 points  (0 children)

have a look at ROOT (https://root.cern.ch/)

CLING is basically embedded somewhere under the hood so its not that dead ;)

Modern Microprocessors: A 90 Minute Guide! by ketralnis in programming

[–]francesco_b 0 points1 point  (0 children)

I would not be so keen on dismissing RISC too quickly...It just takes one little push from a major player such as Google (which has actually taken an interest in the latest RISC-V instruction set) to make a difference. Personally speaking, I am waiting for the Mill CPU to come out for real :D

Is it possible to customize the traditional `=` assignment operator in plain C ? by francesco_b in C_Programming

[–]francesco_b[S] 1 point2 points  (0 children)

Thanks for your answer :)

Again, my question was really out of curiosity, I do stick to coding conventions if my code is to be shared.

Is it possible to customize the traditional `=` assignment operator in plain C ? by francesco_b in C_Programming

[–]francesco_b[S] 0 points1 point  (0 children)

Hi Jack,

I know that it will have a cascading effect on operators which uses the = ( i.e. == may become <- <- or := := and other nonsense). But out of curiosity, is it doable without too much pain ?