Added: 3 years ago
From: OriginalSnkKid
Views: 17,227
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (45)

Sign In or Sign Up now to post a comment!
  • So I've been taking a functional programming class that uses haskell a lot. It's only just gotten into I/O, and it didn't even cover that much of it. My professor doesn't use it much, apparently... I had NO idea you could DO this kind of thing in haskell... o.o I keep looking at this thinking "...what kind of recursive method do I call for that? Is it in the prelude..? No? Wha..?"

  • This is very cool. I've been looking at the Haskell language since my friend linked me to the site. Coming from a C background, I have to say, the language looks amazing and this example of what you can do with it makes me even that much happier I decided to start toying with it.

  • since it is quake3 clone, it would be interesting to compare performance with open arena

  • Comment removed

  • Comment removed

  • Comment removed

  • @locusSol Please read the description carefully, it's jerky because of the capturing software I used, it's nothing to do with the langauge. It's runs complete smooth normally

  • is there anything like the realtime java allocation customization for haskell..

  • zaneski13 get proper downvote for advicing C++.

  • hm that's an openarena map

  • i wouldnt mind making my own engine if some one could lead me on the path, basicaly what is open gl, direct x, how i import to them / how i code and with what program do i code, is the code whats runing direct or is that a program itself, basicaly i want to build a game with codeing and in multiple programs, i know its harder but ive seen much better results in my opinion

    thanks

  • @zaneski13 Don't mention that horrible language here. Haskell is the nicest thing ever to befall open minded programmers.

  • some one please explain to me how to make a game, i use blender and flash cs3 at the moment, i have been making mediocure games in it for a whille now but want to learn the classic method, aka not useing an all in one bullshit like fps creator,

  • functional programming sounds great to me. I hope one day it will be possible to write clear algorithms then add allocation/threading hints or whatever for c-like efficiency .. optimizing without obfuscating the program's meaning

  • One day? That day is already here. With the use of `pars` you can get parralellism for free. No locks, mutexes, race conditions, etc. Just nice, easy, code.

  • @ZachtheEvil 'pars' -

    i'm not familiar with haskell syntax, what does that do. can you specify hints (or get it to automatically..) for where to use threads & where to use ILP/SIMD.

    elsewhere i did see something about haskell/cell which seemed encouraging..

  • par is a command that, to put it as simply as is possible (but somewhat incorrectly) basically hints that something should be done in parallel. There are also parallel versions of Haskell builtin functions, such as map, which becomes parMap. In the future, it is hoped that GHC (the best Haskell compiler, for now) will be able to do everything automatically. It can currently handle over a million threads just fine, and the nature of functional programming makes it easier than in, say, C.

  • is this a 100% software renderer or does it uses some kind of ogl binding ?

  • No software rendering, Frag uses the OpenGL bindings.

  • Fine results indeed!

    I hope that an implementation of OpenArena in Epigram is on it's way too :)

  • "As a proof of concept" and "match the performance of commercial games" are two different things.

    As a PROOF OF CONCEPT it is a very strong result.

  • Just stop. Go away. Quit pretending like you know what you're talking about.

    You're obviously not interested in new, experimental areas of computer science, and apparently don't have the capacity to understand how they apply.

  • It appears my comments were deleted. Arguments should stand or fall by their own merit. If you are compelled to silence an opposing argument by fiat, then that is a sure sign of weakness in your own position.

  • nobody deleted your comments. They racked up over 6 thumbs down because they're idiotic.

  • OK thanks I see them now (I'm obviously not a regular youtube commenter).

    I was unable to gleam any counter-arguments in your responses, which merely consist of ridiculous ad hominems.

    Again, what is the proof of concept? It shows that heavy garbage collection cannot simply be optimized away. Pure functional programming has its uses, but real-time rendering is not one of them.

    What exactly is your counter-argument? You haven't said.

  • @franticmonk Garbage collection is easy to circumvent in haskell compared to, say, java and I bet you that this program is written with 1/10 of the code it would requre in Java.

  • @franticmonk I didn't see the FPS dip below 40 in the video. The description mentions (and perhaps it didn't a year ago when you posted this) that the video capture software itself was slow,. The undergraduate thesis (which I have read) mentioned that the performance was adequate. I do not think that a jerky animation like what it appears to be on the video would have cut it as adequate even to the most optimistic of people.

  • @franticmonk That argument was completely missing the point, and if you would like to know, realworldhaskell(dot)org/read/­profiling-and-optimization.htm­l shows how to optimize haskell code to outperform commonly written C.

  • First of all, you are spouting conjecture about what is happening in this concept. You would be right if you had the correct evidence.

    Secondly, you should take note of the framerate counter. As far as I can tell, the rate is consistently between 40 and 60 fps.

  • OriginalSnkKid: I apologise for fanning the flames there. I think this demo is amazing, and is exactly the kind of thing we need to show people that Haskell is not just for the laboratory.

  • You have no reason to apologise, it is my fault for not putting enough information to prevent such comments being posted.

  • @aramael Indeed, you have to show that Haskell is not just for the laboratory, 'cause that's all what I see. My whole department is researching fucking functional programming stating that they are superior to imperative languages whereas I'm laughing my ass off at my workplace while coding Java and C++ for four times the money they get for jacking off to Haskell. If Haskell is so good why havent profit oriented firms replaced Java with it?

  • we are talking of an high-level programming language, that is everything but targeted to the development of low-core 3D applications.

    As a proof of concept, this is a very strong result. There can be no judgement on that.

  • What's the point of your comment? do you even understand what this video is about?

  • the video is of a low quality first person shooter, these are a dime a dozen

  • More like, a first person shooter written from scratch in Haskell by one student in the span of about three months which implements much of the Quake3 engine.

    So while there are many first person shooters out there, this one demonstrates that Haskell can be used for rapid development of 3d games.

  • I guess it's reasonable to produce a demo rather than something approaching an actual game for the time allowed.

  • I think I see your problem. You believe, as children do, that this video is about the game. It's not. But I get the impression that you are of the age where you feel that your skills and knowledge, which to you seem so much greater than those of your peers, mean that you have more in common with the professionals in the field, hence your opening comment. The road to wisdom is long, particularly so in your case I fear.

  • obvious troll is obvious.

  • Clearly you do not understand the intent of this video. It is not aimed at gamers and it's not about the game itself, it's aimed at programmers.

    I will leave these comments so hopefully others will think before making useless comments, anymore like these will get deleted and block the user.

  • The video does nothing to communicate what it's about. In itself it's nothing spectacular, however I've just read the thesis and I understand much better.

  • That was classic at 2:01 when you shot that dude with the sniper rifle.

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more