Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror

+ - 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:Yes... (Score 1) 292

by tp_xyzzy (#45370845) Attached to: Stephen Elop Would Pull a Nokia On Microsoft

> -Bad: Picking MS, the last place platform

Current marketshare isn't really relevant, since they haven't yet started their work. It takes lots of effort to get the marketshare up, but that's why they have large organisation. All those people need to have something to do, and improving windows phone market share is good task for them. We'll see how the market share improves as soon as they can create enough phones to match the number of phones they were creating with symbian.

Comment: Re:Let's not mince words (Score 1) 292

by tp_xyzzy (#45370687) Attached to: Stephen Elop Would Pull a Nokia On Microsoft

> Elop should have chosen to go with Android for the killer platform of the their OS with Nokia's hardware.

That's only end-user perspective. There is other considerations, like how operators improve their networks, and what kind of improvements the company's engineers want to do to the os. Also hardware support is important consideration - it wouldnt be good if they had to use same type of parts for the phones as android vendors are using, since world supply of those components is soon consumed already. Important decision point seem to be ecosystem.

Comment: Re:Things that make you go Hmmmm.... (Score 1) 535

by tp_xyzzy (#44748513) Attached to: Official: Microsoft To Acquire Nokia Devices and Services Business

> Nokia workers being laid off by the tens of thousands must
> be thrilled. Wonder what they think of the news...

Guess it's some big evil masterplan. The question to ask -- what is the evil plan that takes billions and billions of money, enough for a big company like nokia to run out of money enough that they must sell some assets. The decrease in sold mobile phones is not explaining it, since if they're not using their time to create phones, _what_ exactly are they creating? I think we're going to see some big surprices in the future. Noone just knows yet what they are. Maybe they're expanding their market area reach to cover US market and building ecosystem. But what it will contain is anyone's guess. Nokia and Microsoft today are just placing their first moves in a bigger game; and something big is coming. We just don't yet know what it is.

Comment: Re:Android on Nokia Phones? (Score 1) 230

by tp_xyzzy (#44395203) Attached to: Nokia: Microsoft Must Evolve To Make Windows Phone a Success

> I still don't get what Nokia gains from the exclusive deal with Microsoft.

Think of what they're doing. They create hardware. Why is deal with microsoft important for their hardware? If they create N million units of phones, they need large amount of hardware components. How is the deal with microsoft useful in this situation? It could be simply that microsoft already ported their OS to the hardware components. Or somethiing else like that. We will never find out, if we just think about how end users are using the phones.

My bet is that developing several operating systems costs too much money. Taking both winphone and android costs so much money that they can't afford it. They already have several platforms. Too many of them is not good plan.

> They're just sealing themselves off from a very large part of the market.

If you know the history, they have not been very successful in US market. Maybe microsoft gave them access to new big market like the USA.

Comment: Re:Let's see... (Score 1) 230

by tp_xyzzy (#44394385) Attached to: Nokia: Microsoft Must Evolve To Make Windows Phone a Success

> Microsoft OS: 90 bucks or whatever they're charging
> Smaller ecosystem for apps
Works with the hardware.

>Compared to:
>Larger ecosystem by orders of magnitude
>An OS that doesn't cost a dime (unmodded)
Doesn't work with the hardware - would take 3 years to port.

I'm pretty sure the hardware is the key. MS ported their OS to correct hardware platform.

Oh wait, Nokia doesn't like to use the same hardware as google is using?

Comment: Rude is ok... (Score 1) 1501

by tp_xyzzy (#44293111) Attached to: Kernel Dev Tells Linus Torvalds To Stop Using Abusive Language

Reason: Trolls. I'm pretty sure kernel would be written in perl if trolls had their way. It's just amazing how much pressure there is in the highvolume opensource projects. It takes 2 loud persons to cause pressure to a project in the mailing list. Popular projects have lots more trolls than real people. Rude is necessary in this environment. Just reading the mailing list is a pain.

Then trying to control the trolls to build big software that always need to work. It becomes impossible over the email after project size is more than 10 people. I don't understand how linus can handle kernel. It must be real pain in the ass.

Comment: It could be unauthorized access, here's the logic (Score 1) 161

by tp_xyzzy (#44216357) Attached to: Security Researchers Submit Brief For Andrew "Weev" Auernheimer

If we consider the url trick to be operation that normal people would not do. Further, after url trick, he got access to someone elses account details. It's pretty similar to normal hacking operations -- find gaps in the protection of the data, and once found, utilize the gaps to cause damage. He bypasses security measures by skipping the authentication mechanisms and accessing someone elses account. In this case, every AT&T customer's account details. Once he saw the unauthorized account details, he didn't stop there, but created software to fetch all the data he can find. By this operation, he upgraded himself from normal web user to a software expert, and software experts are supposed to know that unauthorized access to someone elses data is not allowed. Convicting this guy no way changes the status of normal web users as amici thinks, but changes the status of software experts. Experts now need to be more careful about how they publish data. Software experts anyway need to be very careful what data to publish. Giving account details of someone else fetched from AT&T's servers to the press is just very stupid operation for a software expert. I say this is unauthorised access of AT&T's servers, recardless of what response the server is giving. The server configuration just doesn't matter. He bypassed the authentication mechanisms to access accounts of AT&T's customers. Jump from software expert to security researcher is tricky one. As software expert he's clearly breaking publishing rules. If he cannot make the jump from software expert to security researcher, then the conviction is just ok. Not all software experts need to be security researchers.

Comment: Re:Here we go again (Score 1) 461

by tp_xyzzy (#43482901) Attached to: Ricin Tainted Letter Sent to Senator and Possibly the President

> I'm truly curious what background check will keep someone from stealing another person's legally obtained weapon?

Laws and regulations against guns works better than you expect. Crazy person who only thinks of "where can I get a gun" will have problems finding one if the regulation is enforced. They will find pieces of glass or knifes instead, and the damage will be much smaller. This is the purpose of gun laws, the damage needs to be minimized.

It's completely stupid idea to let someone sell semiautomatic weapons to whoever has money.

Comment: What I would add to current laptops... (Score 1) 591

by tp_xyzzy (#43369641) Attached to: If I could change what's "typical" about typical laptops ...

1) ability to keep it running without overheating
2) ability to keep it running without rebooting
3) ability to run linux without deleting existing partitions since partition table is full by default
4) ability to use proper 3d cards instead of the crappy integrated stuff
5) faster hard disk replacement

A university faculty is 500 egotists with a common parking problem.

Working...