Settings

Theme

An new try: C++ like program with the same characteristics as rust

3 points by juntz · 6 comments · 1 min read


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

1 thread
gus_massa

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.]

  • juntzOP

    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!

    • gus_massa

      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?

      • juntzOP

        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.

        • gus_massa

          > 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.)

          • juntzOP

            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.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection