Giter VIP home page Giter VIP logo

kit's Issues

Implement Kit-independent distribution

Libraries written under the management of Kit are hard to distribute, especially when these libraries depend on modules in the Kit index.

For C developers who aren't willing to adopt a new project manager, we should provide a kit dist command. This would fetch dependency sources, replace Kit-based include statements, and wrap everything into a [mostly] self-contained project.

Differentiate between C and C++ modules

C++ projects may link with C modules, but the contrary is not true, so there should be something to prevent accidental inclusions of C++ sources when only C sources are permitted.

Module name collisions are another issue.

Need way to specify compiler flags.

Some projects require libraries outside of kit, need specific versions of C, or do other important things that kit leaves unsupported.

An optional configuration file, maybe?

Typo in README

#include <kit/module/file.h

should read

#include <kit/module/file.h>

Kit fails to run after install

Traceback (most recent call last):
  File "D:\Python34\Scripts\kit-script.py", line 9, in <module>
    load_entry_point('Kit==0.1', 'console_scripts', 'kit')()
  File "D:\Python34\lib\site-packages\pkg_resources.py", line 353, in load_entry
_point
    return get_distribution(dist).load_entry_point(group, name)
  File "D:\Python34\lib\site-packages\pkg_resources.py", line 2302, in load_entr
y_point
    return ep.load()
  File "D:\Python34\lib\site-packages\pkg_resources.py", line 2029, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "D:\Python34\lib\site-packages\kit-0.1-py3.4.egg\kit\main.py", line 3, in
 <module>
ImportError: No module named 'commands'

Are there any dependencies that need to be installed to run Kit?

Slow startup

The upstart time for Kit is too slow. This isn't a bug, but it would be nice to speed things up a bit.

I think the primary cause is an overabundance of import statements. The code is organized in such a way that requires many imports in each module, which, according to this link, may increase startup overhead. Some refactoring might help. Lazy imports are another option (can they be made automatic in any way?).

Other potential areas of improvement:

  • the scanner and its recursive globbing of source files
  • makefiles in the context of parallel compilation (this might not help during startup, but it'll speed things up nevertheless)

Version tracking and differentiation

At this point, modules are treated identically regardless of their version. This poses a problem when library APIs change and undermine existing codebases.

TODO

Prettify standard output

The output of Kit is pretty chaotic, especially when fetching modules from the central repo. We should clean everything up a bit a some point.

Added support for C++

With a few changes to builder.py, C++ modules could be supported alongside C modules, since these languages share the same compilation process.

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.