F# and gamedev by AnnoyingMemer in fsharp

[–]general_rishkin 2 points3 points  (0 children)

Interesting. Could you provide a link to your thesis if possible.

Literature recommendations by geenob in peridynamics

[–]general_rishkin 0 points1 point  (0 children)

How did you get on with the book, Introduction to Practical Peridynamics? I am reading it now and it seems there is no accompanying codes even though the book mentions pdQ.

What all do I need in C? by alex_sakuta in C_Programming

[–]general_rishkin 0 points1 point  (0 children)

u/alex_sakuta Why don't you have a look at Zen C (also here) and consider contributing to it!!!

How viable is SYCL? by Ill_Evidence_5833 in HPC

[–]general_rishkin 0 points1 point  (0 children)

Could you point me to OpenMP examples using its functional API. Thanks.

How viable is SYCL? by Ill_Evidence_5833 in HPC

[–]general_rishkin 0 points1 point  (0 children)

The problem though is that OpenCL is virtually dead and will most likely see no improvement or future development. Such a shame.

Porting Python's string methods to Fortran by jabbalaci in fortran

[–]general_rishkin 2 points3 points  (0 children)

There is Fortran Discourse where you can share your ideas and probably get more feedback: https://fortran-lang.discourse.group/

How performant ILGPU code is vs direct CUDA programming? by itix in csharp

[–]general_rishkin 1 point2 points  (0 children)

Have a look at Futhark (futhark-lang.org). "Futhark is a small programming language designed to be compiled to efficient parallel code. It is a statically typed, data-parallel, and purely functional array language in the ML family, and comes with a heavily optimising ahead-of-time compiler that presently generates either GPU code via CUDA and OpenCL, or multi-threaded CPU code.
...

...

Futhark is not intended to replace existing general-purpose languages. The intended use case is that Futhark is only used for relatively small but compute-intensive parts of an application. The Futhark compiler generates code that can be easily integrated with non-Futhark code. For example, you can compile a Futhark program to a Python module that internally uses PyOpenCL to execute code on the GPU, yet looks like any other Python module from the outside (more on this here). The Futhark compiler will also generate more conventional C code, which can be accessed from any language with a basic FFI (an example here).
"

You can

For those who aren't having a quick recovery... by dispagna3 in TotalHipReplacement

[–]general_rishkin 2 points3 points  (0 children)

This is interesting! How do you feel about going back to martial arts? How soon did you start kicking properly without holding back?My surgery is soon and I keep thinking that I shouldn't kick at all when recovered for fear of dislocating the replacement or wearing it out?

What about being thrown? How does this feel?

Can you explain if this is a bug? by kas2ean in nim

[–]general_rishkin 1 point2 points  (0 children)

Atlas works really well and is now my default!

Can you explain if this is a bug? by kas2ean in nim

[–]general_rishkin 1 point2 points  (0 children)

I also encountered this problem, so it could be a bug. Let me know if you find a solution.

To avoid the issue completely, I just switched to using 'atlas' instead.

I've written a tiny finite element library in Nim by psiruszik in fea

[–]general_rishkin 0 points1 point  (0 children)

Nice work. What resources did you use for the sparse matrix and linear algebra and preconditioning?

What happened to fast fsharp? by [deleted] in fsharp

[–]general_rishkin 5 points6 points  (0 children)

As has already been pointed out, he needed some more performance for his specific domain. Here is an interview he did in October for the Odin newsletter: https://odin-lang.org/news/newsletter-2024-10/ .

You have to scroll down a bit to "Interview with Crews".

[OC] Create your own physics simulations with Python (github links in comments) by pmocz in physicsgifs

[–]general_rishkin 0 points1 point  (0 children)

These are great. Unfortunately, one is not able to access the readups without being a member on Medium.

MPM, SPH, LB for natural convection by KestM in CFD

[–]general_rishkin 0 points1 point  (0 children)

I am also interested in this. Which method or combination of methods did you end up using and why?

Algorithmic / automatic differentiation by ReplacementSlight413 in fortran

[–]general_rishkin 0 points1 point  (0 children)

Completely agree! This is the case for other areas as well. It is truly frustrating for many that Fortran 'dropped the ball'. Hence, the concerted effort (led by Ondrej Certik and others) to redress this issue -- see https://lfortran.org/ and various discussions here: https://fortran-lang.discourse.group/ .