Coder Social home page Coder Social logo

fzx's People

Contributors

dundargoc avatar gpanders avatar ii14 avatar p00f avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

fzx's Issues

Windows support

Even though there is no stable C/C++ API yet, the core library should work on Windows already.

EventFd class that uses unix pipes to wake up external event loops is currently missing on Windows. This is required to make it work as a Lua module with neovim and libuv. It could technically link to libuv and use uv_async_t, but I'd prefer the Lua module to remain agnostic to that and just expose a file descriptor, so I don't have to worry about ABI compatibility.

The standalone TUI is nowhere near done on Linux and Mac. No plans to support it on Windows right now. Just making it usable somehow inside neovim should be enough. Do people actually even use fuzzy finders on the Windows command line, outside of WSL or whatever?

TUI

The current TUI is really bad, and was meant to just test things out. Improve it.

Symbol visibility in shared library

When building as a shared library (lua module), the default visibility prevents function inlining and every call has to go through the PLT/GOT, which is slower than calling virtual functions. Build with -fvisibility=hidden and export only the symbols that are actually needed. Basically only the luaopen function and the C API (#10).

Runtime dispatch

Right now available instruction sets are detected at compile time in cmake. Detect the available CPU features at runtime, so it's possible to ship binaries without dragging them down to the lowest common denominator.

Msgpack RPC

Add the option to run as a separate process and talk over msgpack RPC.

vqsort, x86-simd-sort

Option to build with Google's vqsort or Intel's x86-simd-sort.

x86-simd-sort is only AVX2 and AVX512. vqsort can do SSE too, but as far as I can tell it doesn't bring much of any actual improvement over libstdc++'s std::sort.

UTF-8 support

When strings are created, detect UTF-8 and store them as UCS-4. Storing them as code point values will make dealing with them easier, processing will be faster (conversions are done on the way in), at the cost of some memory usage (I'm assuming strings will be mostly ASCII anyway). This will require no significant changes to the code (SIMD or scalar) except switching to wider integer types when necessary.

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.