Code Monkey home page Code Monkey logo

ssv's Introduction

SSV - Simplified Streamable Values

Vlang WIP

The problem

The format comma-separated values (CSV) has a series of inconsistencies as pointed out by Stenway. With this in mind, there is a need to create a new form to (de)serialize data to improve speed / readability / simplicity.

  1. Speed – the complexity and ambiguity of CSV makes it so parsers become slower and less efficient at processing data. For a well-built, robust system, speed is a major parameter. To increase speed of (de)serialization, 2 things can be done:

    • Create a simpler standard – a well defined, unambiguous, compact standard leads to less computations required, improving speed of encoding/decoding;

    • Reduce readability – by basing the standard on difficult to read yet compact formats, memory usage and time reading data can be reduced.

  2. Readability – when a system serves as an interface with the human operator, it is crucial that it is easily and swiftly interpreted by them. To this effect, several requirements rise up:

    • Cultural context – the file must support most languages and characters;

    • Valid text – all characters used must be available to the user's input device;

    • Concise information – extra, unneeded characters should be avoided to allow the operator to focus on the important information in the file;

    • Context aware format – information should be presented in a format such that the operator can understand the context in which the information is relevant.

No perfect solution exists which marries speed and readability in all aspects. However, a system can be developed which can (de)serialize data in both forms: for machines and for humans.

Proposed solution

  • typed values – type information should be present (text, number, binary, null)

  • collections – include lists and dictionaries

ssv's People

Contributors

pastilhas avatar

Stargazers

 avatar

Watchers

 avatar

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.