Giter Club home page Giter Club logo

cosmos-standard's People

Contributors

alexinea avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cosmos-standard's Issues

Cosmos.Standard 0.1.5 will only support .NET Core 3.1

For the following reasons, we will start with Cosmos.Standard 0.1.5, switch the entire TargetFramework to .NET Core 3.1, and no longer consider .NET Framework, .NET Core 1.x/2.x/3.0,. NET Standard provides support:

  • .NET 5 will completely replace .NET Framework and .NET Core;
  • .NET 5 played down the existence of .NET Standard;
  • The complex target framework is not conducive to the development (rewriting) of Cosmos.One;
  • The existing version of the Cosmosloops ecosystem has not been accepted by most people, so there is no historical burden;
  • Easy to test;
  • Other reasons.

Considering that the Loongson team is adapting Mips64 for .NET Core 3.1 (and will not know whether they will also adapt for .NET 5 in a short time), so when .NET 5 is released, Cosmos.Standard will simultaneously Supports .NET Core 3.1 and .NET 5.

cosmos-loops/Home#1

Incorporate "Collections" into the core library

According to #44, merge "Collections" extensions of Cosmos.Extensions library and "Collections" extensions of Cosmos.Extensions.Collections into the core library.

At the same time complete the corresponding unit test.

Enhanced support for HashCode

By adding HashCode32, HashCode64, HashCode128, HashCode256, HashCode512 and HashCode1024, the processing capability of HashCode is enhanced.

  • Automatic adaptation of high and low positions
  • Convert to hexadecimal string
    • Provide: AsHexString() and AsHexString(bool uppercase) methods
  • Convert to a binary string (and complete 0, optional)
    • Provide: AsBinString() and AsBinString(bool completeZero) methods
  • Hexadecimal strings can be parsed as HashCode-NN
    • Provide: Parse, TryParse, ParseLoosely and TryParseLoosely methods
    • In loose mode, strings with insufficient length can also be easily converted to HashCode-NN
    • In strict mode, only strings that strictly meet the requirements can be converted successfully.
  • Provides methods to convert to Byte[] and BitArray.
  • Also provides a method to convert to Base64.

Enhance the Try component and add TryAction.

  • Enhanced Try.Create<>() overload.
  • Add Try.Invoke<>(Action<>) overload.
  • Add TryAction wrapper.
  • Add TryInvoke extension methods for Action and TryFuncInvoke extension methods for Func
  • Add Future Create feature
  • Add Future Invoking feature
  • Add TryInvokingException

Incorporate "Conversions" into the core library

According to #44, merge "Conversions" of Cosmos.Extensions library into the core library.

  • Conversions
  • Conversions extensions
  • CastTo extensions
  • Safe&null extensions

At the same time complete the corresponding unit test.

Merging Core and Extensions

To optimize and streamline Cosmos.Standard's core library design, it was decided to merge Cosmos.Core and Cosmos.Extensions.

This adjustment helps to clarify the logical relationship between auxiliary methods and extension methods, and adjust the accessibility of some methods to achieve "as reasonable a design as possible".

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.