Giter VIP home page Giter VIP logo

Comments (5)

98-f355-f1 avatar 98-f355-f1 commented on May 28, 2024 1

@faustinoaq
I think that I missed this part:

On WSL you need a bat script to execute crystal via bash.exe, please see wiki: https://github.com/crystal-lang-tools/vscode-crystal-lang/wiki/Settings#bashonwindows

I just installed Crystal from the Linux tarballs... I will install and let you know if it all worked.

from vscode-crystal-lang.

98-f355-f1 avatar 98-f355-f1 commented on May 28, 2024 1

Error messages resolved

Great 👍

Issue closed

from vscode-crystal-lang.

faustinoaq avatar faustinoaq commented on May 28, 2024

Hi @98-f355-f1 Thank you for using Crystal, this extension is still a big work in progress 😉

On WSL you need a bat script to execute crystal via bash.exe, please see wiki: https://github.com/crystal-lang-tools/vscode-crystal-lang/wiki/Settings#bashonwindows

from vscode-crystal-lang.

98-f355-f1 avatar 98-f355-f1 commented on May 28, 2024

I'll check it out. I can use Crystal perfectly well with Debian bash and VSC, it's just those pesky error messages in code that is a nuisance, and have been playing around a bit. I was able to convert some number crunching functions from Ruby to Crystal with a little effort... as I was learning about the strict type system. Since I needed a big number, I found the BigInt type... works great, but a little bit tedious to declare and instantiate every single variable that the algorithm touches as to not get a TypeError.

I am going to do my own benchmarking against MRI, JRuby, straight C and Crystal.. from what I've seen from others I'd expect C to win by a nose over Crystal, but handily beat MRI and JRuby. I will also start figuring out how to benchmarking on C ext. in MRI vs. Crystal out of the box, and Crystal with C ext. Should be fun.

How do I become a contributor to your code base? I am a newcomer, but learning fast. I have some personal algorithms that I added to my own Ruby SecureRandom code base, so I can crunch Bitcoin hashes, and generate keys... perhaps, I could refactor them and submit, and you guys can decide to put them in and use them?

I haven't poked around enough through all of the files to see what you have or don't have against MRI Ruby, but I'd like to help if I can.

Thanks again

from vscode-crystal-lang.

98-f355-f1 avatar 98-f355-f1 commented on May 28, 2024

BTW, is this the compiler???

I copied the whole path from my windows C: all the way into the Debian WSL file system and ends at the "user path" \src\compiler\crystal\crystal.cr ....
Or is it in the next folder of crystal at ...\crystal\ where this is compiler_path.cr, compiler.cr ??

from vscode-crystal-lang.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.