Live data from Hacker News

ALiEn – a GPU-accelerated artificial life simulation program

alien-project.org

41–50 of 217 posts

Re: ALiEn – a GPU-accelerated artificial life simulation program

#41
post #25

>The Autoverse is an artificial life simulator based on a cellular automaton complex enough to represent the substratum of an artificial chemistry. It is deterministic, internally consistent and vaguely resembles real chemistry. Tiny environments, simulated in the Autoverse and filled with populations of a simple, designed lifeform, Autobacterium lamberti, are maintained by a community of enthusiasts obsessed with ge…

This was my first thought after looking at the project. Just finished the book.. wild!

Re: ALiEn – a GPU-accelerated artificial life simulation program

#42
post #30

Earlier quoted context omitted.

It's more likely than you think: https://en.wikipedia.org/wiki/Simulation_hypothesis

There’s no evidence we live in a simulation, and a whole lot to suggest we aren’t.

Is there any evidence suggesting we're not in a simulation?

Re: ALiEn – a GPU-accelerated artificial life simulation program

#43
I think you need to read the first few chapters of After Virtue to appreciate the concept behind creating things for people to enjoy directly; it's a form of art, essentially reducing the overgrown calculator known as a "computer" to a beautiful vase holding a flower arrangement.

Here is the link: https://archive.org/details/4.Macintyre/page/n17/mode/2up

This is a sort of test playground for marketing, brands, and so on since the programs occupy a no man's land between games, academic research, toys, entertainment, and programming.

It also satisfies the self-feeding dogfood condition: similar to games such as RoboWar, it is difficult to resist the temptation to experiment at the simulation level, a phenomenon that could be described as the MFTL effect.

http://www.catb.org/~esr/jargon/html/M/MFTL.html

Re: ALiEn – a GPU-accelerated artificial life simulation program

#45
post #6
post #2

Since the title isn't informative: "ALiEn is a GPU-accelerated artificial life simulation program." https://alien-project.org/

Nvidia GPUs only.

I've written a lot of software against GPUs, albiet some years back. The main challenge was that many of the best libraries had CUDA support (or CuDNN support on top) but not support for other GPU lines' frameworks.

Getting CUDA to work well is hard. Not hard on your laptop, not hard on a particular machine but hard to work everywhere when you dont know the target environment beforehand -- there are different OSs, different OS versions, different versions of CUDA, different cards with different capabilities. But we did get it to work fairly widely across client machines.

The same effort needs to be put into getting things to work for other manufacturers, except a layer deeper since now you're not even standardized on CUDA. Many companies just dont make the investment. Our startup didn't, because we wouldn't find people who could make it work cost effectively.

What I really wish is that the other manufacturers would themselves test popular frameworks against a matrix of cards under different operating systems and versions. We see some of that, for example, with the effort of getting TensorFlow to run on Apple's m1 and metal. I just dont see a random startup (e.g., mine w/ 12 employees) being able to achieve this.

For example, if I know from the manufacturer that I could get TensorFlow X to work on GPU Y on {Centos N, Ubuntu 18/20}, I would gladly expand support to those GPUs. But sometimes you dont know if it is even possible and you spin your wheels for days or weeks -- and if the marketshare for the card is limited, the business justification for the effort is hard to make. The manufacturers can address this issue.

Re: ALiEn – a GPU-accelerated artificial life simulation program

#46
post #6
post #2

Since the title isn't informative: "ALiEn is a GPU-accelerated artificial life simulation program." https://alien-project.org/

Nvidia GPUs only.

A simple artifical life / cellular automaton framework would be a great demo for portable compute shaders. I'm looking at this as a potential starting point in my compute-shader-101 project. If someone is interested in coding something up, please get in touch.

Re: ALiEn – a GPU-accelerated artificial life simulation program

#47
post #8

Reminds me of my favorite programming game that no one has heard of: http://grobots.sourceforge.net (Old video of grobots in action at https://youtu.be/BLXKedZHls4?t=801 ) Alien looks awesome!

There is an old artificial life simulator (darwinbots http://wiki.darwinbots.com/w/Main_Page ) that is inspired by grobots-like programming games. Each organism is driven by its own code that can mutate randomly at each reproduction.

I've been trying to produce a web version of it. This is where I got so far (before more or less desisting):

http://darwinjs.herokuapp.com/

Re: ALiEn – a GPU-accelerated artificial life simulation program

#48
post #6

Earlier quoted context omitted.

Nvidia GPUs only.

What would be the best alternative? OpenCL? Vulkan?

OpenCL is sadly stagnant. Vulkan is a good choice but not itself portable. There are frameworks such as wgpu that run compute shaders (among other things) portably across a range of GPU hardware.

Re: ALiEn – a GPU-accelerated artificial life simulation program

#49
post #23
post #21

Earlier quoted context omitted.

NVDA is 82% of the market and rising.

Are we celebrating monopolies now?

the difference between current AMD and Nvidia GPUs isn't even that large if viewed from price/performance ratio... Comparing cards at similar price has AMD having slightly less performance while having significantly more GDDR memory.

i still use an RTX3080 though, thankfully got one before the current craze started

Re: ALiEn – a GPU-accelerated artificial life simulation program

#50
post #6

Earlier quoted context omitted.

Nvidia GPUs only.

A simple artifical life / cellular automaton framework would be a great demo for portable compute shaders. I'm looking at this as a potential starting point in my compute-shader-101 project. If someone is interested in coding something up, please get in touch.

I'd love to help with this. I've been experimenting with rustgpu + wgpu, so I'd personally go there first probably.
Post reply on HN