Git Product home page Git Product logo

flatkrabsetw's Introduction

flatkrabsetw

flatkrabsetw is a flat-C wrapper around the krabsetw C++ library. It's primarily meant for FFI bindings for other languages to interface with.

Current State (2019-02-16)

Further fleshing out of implementation. No intent to cover complete krabsetw API surface. APIs being added opportunistically basted on need.

flatkrabsetw's People

Contributors

zacbrown avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

song-jiang

flatkrabsetw's Issues

Current lazy wrapper is not as memory efficient as it could be.

The current wrapper adds additional allocations that could be avoided with some clever reworking of both krabsetw as well as the flatkrabsetw wrapper. This would include using a thread local arena allocator for pulling out non-primitive data like strings or directly exposing a view of the underlying data that could be copied out by callbacks.

This design is largely in place because it's the lowest barrier to entry wrapping krabsetw. In most cases, it simply results in one or two additional allocations that we could avoid.

Failed to run test_exe.exe on a Windows node without visual studio installed.

Environment
OS Name: Microsoft Windows Server 2019 Datacenter
OS Version: 10.0.17763 N/A Build 17763
Cloud: AWS EC2

Steps to repo

  • Installed visual studio community 2019 and Windows 10 SDK (10.0.17763.0).
  • Built test_exe.exe successfully.
  • Run it on local VM and it was capturing the trace.
  • Copied the entire directory (x64/Release) over to another VM with same OS version and run it, the program exited immediately.

Do I need to install any additional package for it to work? Thanks for help!

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.