News for hackers. Stuff that matters.

izym

Re:Firefox Reality Now Available on Wednesday September 19, 2018 @02:39AM (#18022217)
I don't think the same teams are working on video decoding and VR browsing.
Re:Nvidia Unveils Quadro RTX, a Raytracing GPU on Tuesday August 14, 2018 @02:53AM (#17756031)
That's a software implementation though. These new cards have actual hardware specifically for that.
Re:One year of cycling to work on Tuesday February 20, 2018 @09:54AM (#16420718)
When do you get in though?
Re:Upcoming HDMI 2.1 Features on Monday December 04, 2017 @02:43AM (#15842251)
It might introduce temporal artifacts, which would not be seen in stills.
Does this support Objective-C++? If not, do you have any plans to implement support for it?
Re:How Unreal Renders a Frame on Thursday October 26, 2017 @04:02PM (#15562476)
In deferred rendering the cost of lighting is still dependent on the number of lights. In forward rendering it is dependent on both the number of lights as well as the scene geometry. You can apply various additional techniques to make each light much cheaper though.
Re:Electron: The Bad Parts on Saturday September 16, 2017 @08:42PM (#15267599)
You're not really being fair here. You could just as well distribute all needed dll's with the app. In fact, that's pretty much what Electron does.
Re:Metaclasses: Thoughts on generative C++ on Friday July 28, 2017 @08:19AM (#14873663)
> And C# is no slower than D.

I very much doubt that. Do you have anything to back up that statement?

Re:LWJGL: Lightweight Java Game Library 3 on Tuesday July 18, 2017 @04:55PM (#14799991)
How would WebAssembly ever do that?
Re:The electric car has dropped out of favor in Denmark on Monday June 12, 2017 @12:18PM (#14538439)
Vægtafgift is not a thing anymore, there is only ejerafgift now.
Your CPU has 4 cores, but 8 threads due to Hyper-threading. It's quite normal that not all programs will benefit from the additional threads. It would be interesting to see how the compiler performs on more physical cores.
Re:Writing a Raytracer in Rust – Part 1 on Thursday March 30, 2017 @10:26AM (#13995586)
Scratchapixel has a lesson on it [1] which takes the same approach.

[1]: https://www.scratchapixel.com/lessons/3d-basic-rendering/ray...

Re:Writing a Raytracer in Rust – Part 1 on Thursday March 30, 2017 @07:37AM (#13994497)
Yes, but on the other hand rasterization is implemented in hardware on GPUs which gives it a great performance advantage. Also, sorting before rasterizing allows most triangles to be discarded before any fragments are created. Besides, creating and traversing an acceleration structure does definitely not make ray tracing free. Especially traversal is not exactly cache-friendly. Also, rays passing closely by geometry, but not hitting it, will traverse rather deep into the tree and then backtrack, which is rather costly. Another advantage of rasterization is that it is data-parallel at the vertex level. The disadvantage is that it is far less flexible in what you can render compared to ray tracing; it's only really practical for camera rays.
Re:Writing a Raytracer in Rust – Part 1 on Thursday March 30, 2017 @03:05AM (#13993492)
> raytracing an image takes much longer than the polygon-based rendering done by most game engines.

Minor nitpick, but it has nothing to do with the fact that it renders polygons. Ray tracing can also render polygons. More precisely, game engines use rasterization which works by projecting triangles onto the screen rather than tracing rays through the screen.

Re:Scrolling on the web: A primer on Thursday March 16, 2017 @08:48AM (#13884535)
That's not going to work for e.g. a table that is part of your content.
Re:Why WebAssembly Is Faster Than Asm.js on Thursday March 16, 2017 @04:47AM (#13883492)
I can't remember if threading support is in yet, but it should be possible. The downside is that it will be a rather hefty binary the user has to download.
Re:Norway: 37% of new vehicles sold in January were electric on Sunday February 19, 2017 @01:42PM (#13681159)
Indeed, the article does not represent the 2016 sales at all. Tesla sold 176 cars in 2016 in Denmark and 2738 in 2015 [0]. While there is definitely a drop, the sales of 2015 were probably also boosted by the fact that lots of Danes, who were interested in buying a Tesla, made sure to do so before the law took effect. In 2014 they sold 460.

[0]: http://www.bilimp.dk/statistics/index.asp

Re:New Macbook Pro power efficiency and time remaining on Tuesday February 14, 2017 @02:04AM (#13641789)
What do you mean by "considering these workloads"? It sounds like a fairly light workload.
Re:Ask HN: What device do you use to read academic papers with? on Tuesday February 07, 2017 @03:16AM (#13587924)
Mendeley. Not the nicest UX, but it syncs, has tags relevant for academic papers and can export everything as a bibtex file.
Re:Crafting a high-performance TV user interface using React on Thursday January 12, 2017 @03:24PM (#13385768)
VW's newer interfaces are also quite lag-free. But then again, it is the same concern as Audi, so I guess it makes sense.
Yes, people are quite aware of that, and if you check the comments you'll see points made against it. Also, ? is very much language level.
Re:Mathematicians bring ocean to life for Disney's 'Moana' on Sunday January 08, 2017 @04:53PM (#13352263)
Well, they did, in a very non-buzzwordy manner.
Re:Rust is mostly safety on Thursday December 29, 2016 @11:08AM (#13278050)
I asked you to provide a single example as proof and you have not done so. There is no pissing contest in asking you to provide a tiny bit of proof for your statements.
Re:Rust is mostly safety on Thursday December 29, 2016 @09:31AM (#13277424)
You didn't answer my question :)
Re:Rust is mostly safety on Thursday December 29, 2016 @09:20AM (#13277373)
When have they broken stuff post 1.0?
Re:Crytek has not paid wages, employees are leaving on Sunday December 11, 2016 @05:22AM (#13150446)
Nontrivial games take time to make.
Re:Why I'm Making Python 2.8 on Saturday December 10, 2016 @05:34AM (#13145035)
Very good points, but you should try to keep a more civil tone.
Yes, but forking on GitHub means that initially it will be just their software.
> Breaking the behavior of my back button is one of the worst user experiences I get these days. Usually it makes me so angry that I just leave the site right away.

Obviously that is not the wanted user experience. Disregarding SPAs as a solution because of an unintended behaviour is kind of throwing the baby out with the bath water.

> Browsers can do that on their own since forever, given a carefully crafted HTML page.

How are you rendering parts of something from a server before receiving anything from the server using only HTML? I'm talking about the following flow:

1. User clicks link

2. Instantly the layout etc. is rendering using JS, with fancy loading elements (maybe ala how FB does their news feed) for the missing items

3. The data is loaded and put into the layout

Whereas for the non-SPA flow the user would have to wait for data to be received before anything is rendered. Of course pre-fetching alleviates this a bit, but it still requires the whole page to re-render.

> The 1ms is network overhead, witch is nothing considering how long it takes for the image to render on the screen.

Yes, latency for a single bit of payload to ever hit the client. The rest of the data then needs to be transferred as well. Transferring that amount of data constantly would be terrible with regards to battery life.

> The CPU and the GPU could be several miles apart.

How exactly? Would you send draw commands over the internet?

Older »