682 karma · joined May 12, 2012
Eg I can ask it to generate a huge chunk of code and it doesn't try to give an "example", it generates a realistically long bit of code.
This is great particularly when you want to generate an entire webpage, vs having a chat with an agent that's going to tell you how to build a webpage yourself with small snippets of example code.
- WebKit - Chrome
Am I misunderstanding the product?
I know Intel is coming out with a discrete GPU, which will probably have plenty of video encode hardware to compete with NVIDIA (esp since game streaming at 4K is quite popular).
Ie, CCPA / GDPR says I have the right to see and correct it if I live in one of those jurisdictions.
CACurrentMediaTime() / CFAbsoluteTimeGetCurrent() are first of all not deprecated (just check CFDate.h / CABase.h) but return a time interval since system boot so they are guaranteed to be increasing. It's just a fp64 representation of mach_absolute_time() without needing to worry about the time base vs seconds.
Date() / NSDate returns a wall clock time, which is less accurate and not guaranteed to increase uniformly (ie adjusting to time server, user changes time etc)
My first decent sized codebase was web site for my high school in vanilla PHP. It was a total mess (mostly due to my lack of experience and the need to support Netscape 4.7). I understand that some PHP apps are good, though I got burned by WordPress vulnerabilities enough to swear it off.
I wrote a little code in Hack while at fb, and the incremental typing was slowly evolving a messy codebase to some kind of order. (https://hacklang.org)
Anecdotally, I was trying connect PyTorch's CUDA tensors to the GL textures that Electron/Chrome uses to render in a Canvas without going through CPU memory, but couldn't figure out where to inject my code. Chromium's GPU code is quite a maze. Perhaps a smarter person will be able to accomplish that.
But on a GPU, it is typical to have well over 1000 cores using a different programming model that accounts for memory access and grouping threads together to accomplish shared work and shared memory accesses.
So, the same work is now being done with slightly different algorithms that exploit this programming model.