Giter Site home page Giter Site logo

Typescript support about fdir HOT 5 CLOSED

thecodrr avatar thecodrr commented on June 12, 2024
Typescript support

from fdir.

Comments (5)

thecodrr avatar thecodrr commented on June 12, 2024 1

I haven't tried converting this to TypeScript as there's no reason to because there's already the index.d.ts file for type definitions and I don't have in mind to use any feature from TypeScript. Furthermore, I think that writing this in TypeScript might bring the performance down. Haven't tried it so can't be sure.

You are welcome to give it a try and if the performance remains the same or gets better, I might even merge it. I have no plans to bring TypeScript myself though.

Support for Deno might be in the plans.

from fdir.

papb avatar papb commented on June 12, 2024 1

I am not sure what is the issue here, the fact that index.d.ts already exists should be enough for most purposes... @pl4yradam can you be more clear on what is the issue you are facing?

from fdir.

pl4yradam avatar pl4yradam commented on June 12, 2024

from fdir.

thecodrr avatar thecodrr commented on June 12, 2024

It seems to me to be a lot of work for little benefit. At the end of the day, the code that is going to run on the Engine is still Javascript. I have carefully hand optimized each part of the code for maximum performance.

If I have extra time, I will surely look into it but no promises.

from fdir.

thecodrr avatar thecodrr commented on June 12, 2024

Closing this as it seems unnecessary for now. If anyone thinks TypeScript can improve fdir in some way, feel free to comment below and I will reopen the issue.

from fdir.

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.