Giter Site home page Giter Site logo

Function decorator bloat about volta HOT 13 OPEN

voltlang avatar voltlang commented on June 9, 2024
Function decorator bloat

from volta.

Comments (13)

Wallbraker avatar Wallbraker commented on June 9, 2024

We are looking into a way to make all functions in a module have a set of properties.

// Make all functions in this module @nogc and @system
default fn : @nogc @system;

@property is planned to be replaced with C# style properties
@safe is planned to be default
pure I'm not sure is needed in Volt
override will stay, it catches errors, maybe shorten the keyword. ovrd or something else.
@nogc will also stay, but with the default attribute per module shouldn't be that troublesome.

from volta.

r-k-o avatar r-k-o commented on June 9, 2024

hi,
i was tipped to your project. I am trying to find some thing for me just as D1 and i am glad to see that you guys get rid of that @ - eye cancer. do have a time frame on when the compiler will be compiles downloadable as an exe for windows x64?
thanx

from volta.

Wallbraker avatar Wallbraker commented on June 9, 2024

Thanks!

Short answer in a couple of months you will be able to just install a VSCode extension and that would be that.

We have a CI that builds all of the needed executables (for windows) so if you feel adventures you can download battery and volta from there and have that work now. And using some manual work to get the VSCode extension working.

If you are IRC I recommend poking us in #volt on FreeNode. Or on one of the Twitter accounts @Wallbraker or @VoltLang. I would be happy to do some hand holding getting you setup.

from volta.

r-k-o avatar r-k-o commented on June 9, 2024

thanks for the answer. will download and use.

from volta.

r-k-o avatar r-k-o commented on June 9, 2024

https://ci.volt-lang.lv/ - doesn't work

from volta.

Wallbraker avatar Wallbraker commented on June 9, 2024

Oh it's on https://ci.walkyrie.se/

from volta.

r-k-o avatar r-k-o commented on June 9, 2024

thanks

from volta.

r-k-o avatar r-k-o commented on June 9, 2024

sorry for that, but where do i get llvm.dll or otheres in case they are needed?
thanks in advance for your patience.

from volta.

Wallbraker avatar Wallbraker commented on June 9, 2024

Oh right, LLVM still doesn't ship a LLVM.dll file so you will need to build one yourself. Using the LLVM_BUILD_LLVM_C_DYLIB option should give you one, I don't have one laying around right now.

Sorry for this being so hard to setup. We have been poking the LLVM project for longer then a year and we only got it as far as them at least adding a switch to build a LLVM.dll.

from volta.

r-k-o avatar r-k-o commented on June 9, 2024

ok, will do

from volta.

Wallbraker avatar Wallbraker commented on June 9, 2024

Oh make sure it's 64bit as we only support 64bit on windows.

from volta.

bhelyer avatar bhelyer commented on June 9, 2024

If I could be forgiven some bikeshedding, I would like to be rid of the @ syntax for keywords entirely. If we need a keyword, we should add it. There's some stuff we could also clean up in regards to namespace issues -- we currently disallow member functions called 'init', as T.init gives you the default initialiser. Maybe this would be heresy, but we could just use T.default for that purpose, and get rid of that. Otherwise, making init a keyword would be my preference, but I don't see a reason we couldn't just appropriate default for that purpose.

from volta.

r-k-o avatar r-k-o commented on June 9, 2024

Oh make sure it's 64bit as we only support 64bit on windows.
yes

I would like to be rid of the @ syntax for keywords entirely
💯
If we need a keyword, we should add it. There's some stuff we could also clean up in regards to namespace issues -- we currently disallow member functions called 'init', as T.init gives you the default initialiser. Maybe this would be heresy, but we could just use T.default for that purpose, and get rid of that. Otherwise, making init a keyword would be my preference, but I don't see a reason we couldn't just appropriate default for that purpose.
👍

from volta.

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.