| ▲ | qprofyeh 2 hours ago |
| This feature opens many doors for optimizing low-level performance in Go projects, that are already running multicore. IIRC there aren’t a lot of languages with built-in std lib support for SIMD and variants. Love the way Go is trying new stuff lately. |
|
| ▲ | pjmlp an hour ago | parent | next [-] |
| Besides the usual C and C++, we have Java, .NET, D, Zig, Julia, Swift, Rust. So yeah, also appreciate having Go in the group instead of manually having to write Assembly. However not many languages adopt ways to manually write SIMD, because most of us have no idea how to write good SIMD code in first place, I surely don't. |
| |
| ▲ | stingraycharles an hour ago | parent | next [-] | | Even with languages that adopt ways to manually write SIMD, it’s mostly left to library maintainers rather than application developers. I work for a C++ timeseries database startup that leverages SIMD about as much as we possibly can, and except for some extremely rare places we just use libraries. | | |
| ▲ | pjmlp 35 minutes ago | parent [-] | | Yeah, that is what I have heard from some NVidia folks as well, like Bryce Adelstein, use the libraries as much as possible, and leave the kernels for experts. However even then, it depends on how the libraries API surface looks like. |
| |
| ▲ | Thaxll an hour ago | parent | prev [-] | | With AI I'm pretty sure SIMD will be easier to integrate when necessary. | | |
| ▲ | stingraycharles 31 minutes ago | parent | next [-] | | But it’s not necessary at all, the whole point is that these utility libraries bring you more elegant code that work on all platforms without having to pollute your codebase with SIMD intrinsics. Unless this was tongue in cheek, because this is in fact a problem with AI that it degrades your codebase in these types of ways. | |
| ▲ | pjmlp 38 minutes ago | parent | prev [-] | | With AI, I expect it to eventually be good enough for us to finally have 5 GLs, so it won't really matter. "CGO 2022 Keynote: Compiler 2.0" https://www.youtube.com/watch?v=w_sX9aZoZxg |
|
|
|
| ▲ | abirch an hour ago | parent | prev [-] |
| Vectorizing computations has been Matlabs secret sauce. |
| |
| ▲ | KeplerBoy an hour ago | parent | next [-] | | Does matlab these days do stuff like JIT operator fusing to avoid memory roundtrips and take advantage of FMAs? | | | |
| ▲ | mastermage an hour ago | parent | prev [-] | | Julia does that too. |
|