Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror

Comment: Re:Not searches. Ads. (Score 1) 216

by Lumpio- (#49575295) Attached to: How Google Searches Are Promoting Genocide Denial
I'm not sure if people who can't be bothered to tell the difference between an ad and a search results are smart enough to be relevant in the struggle against... wait what was this about again? Something that happened a 100 years ago and is irrelevant to pretty much everybody living today anyways?

+ - GameApi aims to replace OpenGl with a higher level API.->

Submitted by tp_xyzzy
tp_xyzzy writes: Current trend has been that new libraries are providing lower level hardware accelerated primitives for games. Games programmers want to spend more time playing with the low level details, in order to finish their games later. GameApi is going against the trend and providing higher level api to replace OpenGL. The approach mixes C++'s centralized memory management and functional programming tricks to move abstraction level towards higher level primitives. The claims include "Empowering beginners to create games" and "Shortening the time-to-market for mini-games". Hilariously the provided api is full of completely independent primitives, with no logic whatsoever in their organisation. The library just moved from pre-alpha status to alpha status in sourceforge. Just in time for april 1st.

Why would this replace OpenGl? Opengl is lower level interface, with all kinds of memory management problems caused by C language. GameApi instead uses C++ and can significantly improve the steps required to create games. Instead of allocating buffers with malloc(), GameApi does all buffer allocation automatically, calculating the required amount of memory without programmer needing to specify it explicitly. Data structures required for high performance graphics is hidden behind the api, creating more power for programmers. All the small details no longer need to be handled by programmer explicitly, since the library handles it automatically. Lazy evaluation and pure functions are borrowed from functional programming languages, bringing state of the art primitives for games programmers.

Games rely on hardware acceleration to get performance. This usually involves moving all the heavy lifting from the frame loop to the precalculation step in the game initialization. This way all the operations required in the critical game loop are hardware accelerated primitives. GameApi's approach is to carefully document all the dependencies in the api, in order to make all hidden dependencies explicit. All combinations of the provided primitives are working, and the functionality is split to small pieces which makes it easier to move unwanted functionality outside of frame loop.

Link to Original Source

Comment: Re:bringing in more H1Bs will solve this problem (Score 4, Insightful) 250

by Lumpio- (#47840077) Attached to: IT Job Hiring Slumps
And how many jobs actually require you to get "close to the metal"? It's pretty few and far between in practice. Besides, only bad programmers are reliant on the first language they learn. Good ones can pick up the best one for the job at hand fast. Are you stuck using the first language you learned? I learned the ropes using BASIC but I haven't touched it since. It really doesn't matter.

Like punning, programming is a play on words.

Working...