Comments (8)
from pipelines.sockets.unofficial.
I used the "build.ps1" file and the compiler was .NetCore 3.1, the target framework was .NetFramework 4.7.2. I didn't use nuget.
from pipelines.sockets.unofficial.
from pipelines.sockets.unofficial.
Yeah, the build actually works well. The property named "Vector.IsHardwareAccelerated" is only implemented in dotnet core. How does it meet the requirements of dotnet framework? I'm not familiar with dotnet eco-system.
from pipelines.sockets.unofficial.
I suspect you mean that it wasn't available in the version that shipped alongside that .NET Framework version; however,
System.Numerics.Vectors
is available as an OOB package via NuGet; as long as you use the appropriate version: it is implemented. For example:
csproj:
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net45</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Numerics.Vectors" Version="4.5.0" />
</ItemGroup>
</Project>
c#:
using System;
using System.Numerics;
static class P
{
static void Main()
{
Console.WriteLine(Vector.IsHardwareAccelerated);
}
}
Which works just fine - in this case, on .NET 4.5 (chosen because that is the lowest .NET Framework version that System.Numerics.Vectors
supports)
from pipelines.sockets.unofficial.
Thanks to your details guide. I tried this on my local computer, and did it successfully 🤣. The "System.Numerics" is a OOB package, a standalone distribution. I need to import this OOB package manually.
I have a stupid question, does this package (System.Numerics.Vectors) released or developed by dotnet core community, instead of the dotnet framework official? 😊
from pipelines.sockets.unofficial.
By "this package", do you mean System.Numerics.Vectors
or Pipelines.Sockets.Unofficial
?
System.Numerics.Vectors
is entirely official / Microsoft; the OOB here just means they have shipped updates via NuGet that apply retroactively to older frameworks; the "gotcha" here is that sometimes you get "assembly binding redirect" problems as a result - you can read all about that here (including what to do if you get a problem loading types): https://nickcraver.com/blog/2020/02/11/binding-redirects/
Pipelines.Sockets.Unofficial
is - as the name suggests - completely unofficial and developed purely by myself.
from pipelines.sockets.unofficial.
Got it. Thank you very much
from pipelines.sockets.unofficial.
Related Issues (20)
- High CPU due to lock contention on _queue in DedicatedThreadPoolPipeScheduler.Schedule HOT 6
- Xamarin.Android crash with native exception on SocketConnection.Create HOT 2
- TLS/SSL support HOT 6
- How to find out when/if the reader/writer completed HOT 3
- if the implementation of this library has relation ship for Rio(Winsock registered I/O extensions) in Windows? HOT 2
- Unable to wait for socket closure HOT 2
- Test: MutexSlim_ConcurrentLoadAsync_DisableContext - fails on my machine
- Test: ConnectTests.Connect - Fails on my machine HOT 1
- Test: BufferWriterDoesNotLeak also fails on my machine
- Set unsafeSuppressExecutionContextFlow on SocketAsyncEventArgs HOT 3
- Loopback fast path is deprected on Windows and can cause high cpu on Win Server 2019 HOT 2
- How do I flush synchronously? HOT 5
- Pump a pair of PipeReader/PipeWriter
- Investigating SemaphoreSlim on net6.0+ HOT 1
- Unnecessary _queue.Count check in DedicatedThreadPoolPipeScheduler.RunWorkLoop HOT 7
- netstandard2.1 DoReceive fails on Zero Length Reads on Mono HOT 1
- Thread Safety Violation Warnings found by InferSharp static analysis tool HOT 3
- Trim and AOT warnings in Delegates and PerTypeHelpers HOT 3
- Fix Thread Safety and other static code analysis issues reported by Infer#
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pipelines.sockets.unofficial.