Hacker Newsnew | past | comments | ask | show | jobs | submit | msond's commentslogin

We actually support NVIDIA hardware, too.

In some benchmarks, SCALE beats nvcc, and we have compiler optimizations in the pipeline that will improve those numbers over time.

> If all you want is to be able to easily use non-NVidia hardware then high level tools like PyTorch already let you do that

Somewhat true, but, CUDA is significantly larger than PyTorch and there's more to Accelerated Computing than just those types of applications supported there.

> OTOH if you want to be programming close to the metal to achieve top performance then you are probably not using CUDA in the first place, and using some CUDA translation layer on non-NVidia hardware would be an even worse idea.

SOTA mlperf submissions use CUDA to achieve their high levels of performance.

It's not a "translation layer", it's a native, ahead-of-time compiler that makes full use of the native hardware features. Here's an example of a feature (Shuffles) being compiled to take advantage of native hardware instructions, resulting in speedups: https://scale-lang.com/posts/2026-01-19-optimizing-cuda-shuf...


I've played with your compiler. It's not very robust yet to production code that leans into all the libraries in the ecosystem. Solve that and you've got a killer app IMO.


We'd love to know which libraries your production code falls over on!

Feel free to ping us on discord (https://discord.com/invite/KNpgGbTc38) or you can find my e-mail in my profile if that's preferable



Actually we launched in 2024 and the last message in our discord is definitely not that: https://discord.gg/KNpgGbTc38


We're actually targeting all of it, and not just CUDA C++.


Including stuff like Fortran, Haskell, Java, .NET via PTX, Python JIT, IDE tooling integration with major IDEs, graphical GPU debugging and profiling, libraries and co?

Then I guess all the best.


This post has some serious peanut-gallery vibes.


Peanut-gallery is happily using CUDA, and needs actual sound reasons to move.


Then the peanut gallery has nothing to complain when Nvidia jacks up prices.


They don't though. Money for ai is pretty much free in America to anyone who can demonstrate a modicum of competence in the field.

The only people who are without access are students or hobbyists really.


Do you see me complaining?

Here is a tip, you don't always need to suffer from FOMO and get the very latest model card.

In fact, contrary to the competition, one can play with CUDA even on laptops, go figure.


> In fact, contrary to the competition, one can play with CUDA even on laptops, go figure.

This is the part people don't get. You can program cuda anywhere on any Nvidia card, unlike other companies' chips you don't need a data center gpu to have full programmability. It's been this way for over a decade


Yes, this is how they get students hooked on CUDA.


How do you deal with target-specific inline asm like tcgen05.mma?


We haven’t yet released support for tcgen05, but we’ll deal with it the same way we deal with other inline PTX: parsing it and converting it to target-appropriate instructions together with the rest of the program.

This is something we’ve done already for the hopper-class tensorcore instructions, and the blackwell ones will map similarly, though likely with a kernel launch involved.


Ambitious but neat, good luck if nothing else :)

If you were to guess, when do you think your Nsight Compute alternative might be ready with your own toolchain?


A guess would be some time next year — since our public launch our focus has generally been on API coverage and increasingly recently, on performance.

While performance improvements will always remain a target, we're soon at full coverage of the core CUDA APIs and will be shifting an increasing amount of effort towards developer tooling.


Hey there!

Would love to connect and hear more about what you like about SCALE and where you'd like it to go.

AMD is a part of our strategy, but it's not the end-game - we envision SCALE to be vendor neutral and have plans to support all of the competitive GPUs that come out in the future, including AMD, NVIDIA, Intel and any newcomers.


With the latest release of SCALE, wave64 AMD Instinct GPUs are supported


SCALE is not a "translation layer", it's a full source-to-target compiler from CUDA-like C++ code to AMD GPUs.

See this part of the documentation for more details regarding warp sizes: https://docs.scale-lang.com/manual/language-extensions/#impr...


We have not reverse engineered any compiled code in the process of developing SCALE.

It was clean-room implemented purely from the API surface and by trial-and-error with open CUDA code.


We're going to be publishing more details on later blog posts and documentation about how this works and how we've built it.

Yes, we're not open source, however our license is very permissive. It's both in the software distribution and viewable online at https://docs.scale-lang.com/licensing/


How about trying _Early_ Source?

It's open source with a long delay, but paying users get the latest updates.

Make the git repo from "today - N years" open source, where N is something like 1 or 2.

That way, students can learn on old versions, and when they grow into professionals they can pay for access to the cutting Edge builds.

Win win win win

( https://breckyunits.com/earlySource.html)


We're still thinking about our approach but this is a nice suggestion, thank you.

I'm curious, for what reasons are you interested in the source code yourself?


> I'm curious, for what reasons are you interested in the source code yourself?

I am the founder/editor of PLDB. So I try to do my best to help people "build the next great programming language".

We clone the git repos of over 1,000 compilers and interpreters and use cloc to determine what languages the people who are building languages are using. The people who build languages obviously are the experts, so how they go so goes the world.

We call this measurement "Foundation Score". A Foundation Score of 100 means 100 other languages uses this language somehow in their primary implementation.

It is utterly dominated by open source languages, and the disparity is only getting more extreme.

You can see for yourself here:

https://pldb.io/lists/explorer.html#columns=rank~name~id~app...

Some that might have become irrelevant have gained a second wind after going open source.

But some keep falling further behind.

I look at Mathematica, a very powerful and amazing language, and it makes me sad to see so few other language designers using it, and the reason is because its closed source. So they are not doing so hot, and that's a language from one of our world's smartest and most prolific thinkers that's been around for decades.

I don't see a way for a new language to catch on nowadays that is not open source.


Very interesting, thank you for sharing!

We do believe in open source software and we do want to move the GPGPU market away from fully closed languages. The future is open for discussion but regardless, the status-quo at the moment is a proprietary and dominant implementation which only supports a single vendor.

> I don't see a way for a new language to catch on nowadays that is not open source.

I do note that CUDA is itself closed source -- while there's an open source implementation in the LLVM project, it is not as bleeding edge as NVIDIA's own.


> I do note that CUDA is itself closed source

And this is a good point. However, it also has a 17 year head start, and many of those years were spent developing before people realized what a huge market there was.

All it will take is one committed genius to create an open source alternative to CUDA to dethrone it.

But they would have to have some Mojo (hint hint) to pull that off.


I'm not the person you replied to, and I can't speak for them. But I can say that for myself, and a not small number of other people, it's an ideological issue. I simply do not use software that isn't F/OSS - to the greatest extent that that is possible. For me, I might use a VERY small amount of non F/OSS stuff, but it's very hard to get me to adopt something new if it isn't.

Now should you make business decisions based on that? Probably not. But while I don't claim to be a representative sample, I am pretty sure the number of people who share my beliefs in this regard is substantially "non zero". shrug


Not GP, but a guaranteed source availability means users can fix issues themselves in the future if the original provider goes belly-up.


I'm a big fan of opensource for most things but if what you've got actually works, you could probably earn big money selling it. The biggest companies in the world are building / using this sort of thing.

Imagine the shift of capital if for example, Intel GPUS suddenly had the same ML software compatibility as Nvidia


This. Since Intel and AMD weren't able to produce a good solution to nvidia's moat yet, this should be worth serious money to them. No need to give it away for free.

On the other hand, if they want better adoption (which would drive sales of their hardware) then Intel / AMD should make a deal to release it as opensource. Closed source will make some profit, but not that much. If this thing really means that everything can run on AMD GPU cards today, then this is a game changer and is worth a lot.


Actually, we use mkdocs and the excellent material for mkdocs theme: https://squidfunk.github.io/mkdocs-material/


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: