HN Companion◀︎ back | HN Companion home | new | best | ask | show | jobs
An new try: C++ like program with the same characteristics as rust
3 points by juntz 13 days ago | 6 comments
I have tried a new repo on Github, with a new try for a C++ like program with the same characteristics as rust. It just work as a kind of amateur hobby. URL : https://github.com/juntz-g1thub/UltraCpp.git


Clicky https://github.com/juntz-g1thub/UltraCpp

Are you the author? People here is friendlier when the author is in the comment section replying technical questions.

Do you have an interesting example? They look just like C or C++. Do you have an example that shows the Rust-like borrow check or something?

[Disclaimer: I know little of C or C++. Perhaps there is something obvious that I'm missing.]


I'm really appreciate for your comments. I'm the author indeed. It is developing the Rust-like borrow check feature and I think I will give the example later soon. Wait for me! I almost thought this project was going to fall through. Thank you for your attention!

How much time have you been working on it? My suggestion is to wait until you have a few examples that use the borrow checker an post again. (Let's say at least wait a month.) After posting, add a comment in HN explaining you are the author and will be glad to answer question.

---

Why the examples say "add(3,5)"? Doesn't your language support operators?


To be honest, I haven't been actively keeping up with this project for quite some time now. The initial development work was completed in under a month using a vibe coding approach. There are a few reasons why I paused:

The development environment kept getting disrupted by updates that were either problematic or simply unnecessary.

I ended up focusing my efforts on optimizing tools and refining the environment.

I'll admit, I had some doubts about the project's value and whether the idea was truly worthwhile—which is probably why my post came across as a bit abrupt.

Thank you sincerely for the suggestions; they're very helpful. I genuinely lacked a clear understanding of how to post effectively, so I really appreciate the guidance. I'll work toward meeting that goal as soon as possible.

One small thing: since I've been experimenting with AI-assisted coding on a limited budget, the code quality hasn't been great. The AI agents frequently lose context and make errors—for example, I defined the syntax in a C style, but it kept generating Rust-style syntax with compilation logic. C and Rust have significant differences in basic function definitions (C/C++ doesn't use the fn keyword), so I ended up using this as a test case to identify and correct the AI's mistakes.


> I'll admit, I had some doubts about the project's value and whether the idea was truly worthwhile—which is probably why my post came across as a bit abrupt.

It's nice to read interesting personal project, so keep posting things you make. My recommendation is not more than once a month, because I can't find+write an interesting thing too often. (Moreover, once a month is too optimistic.)


Got it! thank you. I will post a github repo which I developed recent days that I think useful.It is about AI skill to help me dev. Maybe I will post it in my github blog and gave the URL here. I'll make a comment to encourage everyone to comment.